default to not setting perms for logrotation. provide other options for restart/reload of syslog.

This commit is contained in:
Matthew Wall
2015-04-24 07:03:27 -04:00
parent dbaab1d572
commit 38bf432c91

View File

@@ -6,7 +6,7 @@
delaycompress
notifempty
# debian uses root:adm
create 644 root adm
# create 644 root adm
# ubuntu uses syslog:adm
# create 644 syslog adm
sharedscripts
@@ -14,9 +14,13 @@
# standard way of invoking rc scripts
/etc/init.d/rsyslog stop
/etc/init.d/rsyslog start
# upstart way of invoking rc scripts
# on some systems a reload will work
# /etc/init.d/rsyslog reload > /dev/null
# some ubuntu systems use upstart
# service rsyslog restart > /dev/null
# some redhat/fedora systems have their own way
# reload rsyslog > /dev/null 2>&1
# some debian systems do it this way
# invoke-rc.d rsyslog reload > /dev/null
endscript
}