On 11/26/2009 03:25 PM Marcus Rueckert wrote: > … > your patch has: > # Should-Start: $remote_fs $time postgresql mysql > > $time would i do as Required-Start as atleast in the past dovecot didnt > handle time moving backwards. > > $remote_fs is also *required* if your dovecot on /usr. >
Thank you for your feedback. After talking on IRC with Marco Nenciarini, about LSB comments in init scripts, this is the final version. (shameless copied from the Debian maintainers svn repository.) This patch replaces the previous one. Regards, Pascal -- The trapper recommends today: [email protected]
# HG changeset patch # User Pascal Volk <[email protected]> # Date 1259336464 0 # Branch HEAD # Node ID 0adf54054fd9914dcc304944c661f5f8da068ed2 # Parent f8151445662effc240b68903ab9bc42a60c04cc9 doc/dovecot-initd.sh extended LSB run-time dependencies diff -r f8151445662e -r 0adf54054fd9 doc/dovecot-initd.sh --- a/doc/dovecot-initd.sh Wed Nov 25 13:19:42 2009 -0500 +++ b/doc/dovecot-initd.sh Fri Nov 27 15:41:04 2009 +0000 @@ -1,9 +1,10 @@ #!/bin/sh ### BEGIN INIT INFO # Provides: dovecot -# Required-Start: $local_fs $syslog -# Required-Stop: $local_fs $syslog -# Should-Start: $time +# Required-Start: $local_fs $remote_fs $network $syslog $time +# Required-Stop: $local_fs $remote_fs $network $syslog +# Should-Start: postgresql mysql slapd winbind +# Should-Stop: postgresql mysql slapd winbind # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Dovecot init script
