aboutsummaryrefslogtreecommitdiff
path: root/debian/mauvealert-server.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mauvealert-server.init')
-rw-r--r--debian/mauvealert-server.init4
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