Kolab primary email address and sunday morning reboot

Erik Kramer erikkramer at gmail.com
Wed Apr 1 00:04:01 CEST 2015


> Can you post your configuration?
>

I got it to work by using
https://docs.kolab.org/administrator-guide/configuring-the-kolab-server.html#disabling-the-recipient-policy
And then also delete the values for primary and secondary email from the
[kolab] section.

I run the following script with cron every couple of minutes:
>
> #!/bin/bash
>
> pscount=$(ps -e -o pid,cmd | grep '[/]usr/sbin/apache' | wc -l)
>
> if [ "$pscount" = "1" ]; then
>   apachepid=$(cat /var/run/apache2.pid)
>   if kill -0 $apachepid 2> /dev/null; then
>     :
>   else
>     pid=$(ps -e -o pid,cmd | grep '[/]usr/sbin/apache' | awk '{ print $1
> }')
>     kill -9 $pid
>     /usr/sbin/service apache2 start
>   fi
> fi
>
> That way an "apache reload" has only some minutes downtime. There are
> times besides logrotate where apache config is reloaded... Not a fix but
> a workaraound.
>
>
I have no experience with running scripts with cron yet.
Will have a look, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20150401/1b166954/attachment.html>


More information about the users mailing list