diff options
Diffstat (limited to 'debian/rsyslog.init')
-rw-r--r-- | debian/rsyslog.init | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/debian/rsyslog.init b/debian/rsyslog.init index fb4dfab..c3b6267 100644 --- a/debian/rsyslog.init +++ b/debian/rsyslog.init @@ -2,9 +2,8 @@ ### BEGIN INIT INFO # Provides: rsyslog # Required-Start: $remote_fs $time -# Required-Stop: $remote_fs $time -# Should-Start: $network -# Should-Stop: $network +# Required-Stop: umountnfs $time +# X-Stop-After: sendsigs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: enhanced syslogd @@ -51,6 +50,11 @@ do_start() # 1 if daemon was already running # other if daemon could not be started or a failure occured start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS + + OMITDIR=/lib/init/rw/sendsigs.omit.d + mkdir -p $OMITDIR + rm -f $OMITDIR/rsyslog + ln -s $PIDFILE $OMITDIR/rsyslog } do_stop() |