mirror of
https://github.com/weewx/weewx.git
synced 2026-04-19 00:56:54 -04:00
default to not setting perms for logrotation. provide other options for restart/reload of syslog.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user