diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-14 14:50:22 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-14 14:50:22 +0100 |
commit | 494b083408b354f38da9b1fc5e8ffb7238d009b3 (patch) | |
tree | 4a9122f13b4f36840a2223616b41e3608ae9ba4f /debian/mauvealert-server.init | |
parent | e07cea09e884607d6ad005f5e2822251ca31b9ba (diff) |
Fixed mauveclient to obey time multipliers
Fixed logrotate script to rotate the correct script
Init script now uses the correct user
lib/mauve/history.rb is now installed
Further logging cleanups
Diffstat (limited to 'debian/mauvealert-server.init')
-rw-r--r-- | debian/mauvealert-server.init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/mauvealert-server.init b/debian/mauvealert-server.init index 15c287b..225a9d4 100644 --- a/debian/mauvealert-server.init +++ b/debian/mauvealert-server.init @@ -22,6 +22,7 @@ DAEMON=/usr/sbin/$NAME DAEMON_ARGS="/etc/mauvealert/$NAME.conf" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME +RUNASUSER=mauvealert # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 @@ -135,6 +136,9 @@ case "$1" in do_reload log_end_msg $? ;; + # + # This is for use by logrotate, as the post-rotate method. + # reopen-logs) log_daemon_msg "Re-opening logs for $DESC" "$NAME" do_reopenlogs |