The following changes were made:

* Moved to new CONFIG directory
  * Updated init script to exit non zero if status shows nothing running
This commit is contained in:
2018-07-31 15:01:22 -05:00
parent 532034e56e
commit 4aabf9ebb2
5 changed files with 3 additions and 15 deletions

View File

@@ -7,14 +7,6 @@ case $1 in
exit 0
;;
postinst)
if [ ! -f /etc/rsyslog.conf ]; then
cp /usr/share/rsyslog/rsyslog.conf /etc/rsyslog.conf
fi
if [ ! -f /etc/logrotate.d/rsyslog ]; then
cp /usr/share/rsyslog/rsyslog.logrotate /etc/logrotate.d/rsyslog
fi
/etc/init.d/rsyslog status 2>&1 > /dev/null && /etc/init.d/rsyslog restart
exit 0