To start SOGo automatically at system startup, add the following to your /etc/rc.d/rc.local: if [ -x /etc/rc.d/rc.sogo ]; then /etc/rc.d/rc.sogo start fi To stop sogo automatically at system shutdown, add the following to your /etc/rc.d/rc.local_shutdown: if [ -x /etc/rc.d/rc.sogo ]; then /etc/rc.d/rc.sogo stop fi