aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/mauvealert-server.init4
-rw-r--r--debian/mauvealert-server.install1
-rw-r--r--debian/mauvealert-server.logrotate2
3 files changed, 6 insertions, 1 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
diff --git a/debian/mauvealert-server.install b/debian/mauvealert-server.install
index c23596d..f5950da 100644
--- a/debian/mauvealert-server.install
+++ b/debian/mauvealert-server.install
@@ -8,6 +8,7 @@ lib/mauve/auth_bytemark.rb usr/lib/ruby/1.8/mauve/
lib/mauve/calendar_interface.rb usr/lib/ruby/1.8/mauve/
lib/mauve/configuration.rb usr/lib/ruby/1.8/mauve/
lib/mauve/datamapper.rb usr/lib/ruby/1.8/mauve/
+lib/mauve/history.rb usr/lib/ruby/1.8/mauve/
lib/mauve/http_server.rb usr/lib/ruby/1.8/mauve/
lib/mauve/mauve_thread.rb usr/lib/ruby/1.8/mauve/
lib/mauve/notification.rb usr/lib/ruby/1.8/mauve/
diff --git a/debian/mauvealert-server.logrotate b/debian/mauvealert-server.logrotate
index 3885a35..9d15453 100644
--- a/debian/mauvealert-server.logrotate
+++ b/debian/mauvealert-server.logrotate
@@ -1,4 +1,4 @@
-/var/log/mauvealert.log {
+/var/log/mauvealert/mauvealert.log {
rotate 7
daily
compress