On 11/25/2009 10:17 PM Bernhard Schmidt wrote:
Pascal Volk user+dovecot@localhost.localdomain.org wrote:
+# Required-Start: $local_fs $syslog +# Required-Stop: $local_fs $syslog +# Should-Start: $time
I think this should be $remote_fs, as according to http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generi... and http://wiki.debian.org/LSBInitScripts /usr (where dovecot probably is located) could be mounted from remote.
Also I guess $network is a good idea in Required-Start/Stop.
My excuse: When I modified the init script, it was very urgent. ;-) Yes, mails could also be located on a $remote_fs. Many Dovecot installations uses SQL backends from the same host for passdb/userdb lookups. So I'll add postgresql and mysql. BTW: There is an interesting request for Postfix in the Debian BTS, 'Some proposal for init sequence' http://bugs.debian.org/543472
Regards, Pascal
The trapper recommends today: 5e1f1e55.0932918@localdomain.org