Files
rsyslog/SNAP/usher
Jay Larson 4aabf9ebb2 The following changes were made:
* Moved to new CONFIG directory
  * Updated init script to exit non zero if status shows nothing running
2018-07-31 15:01:22 -05:00

21 lines
229 B
Bash
Executable File

#!/bin/sh
set -e
case $1 in
preinst)
exit 0
;;
postinst)
/etc/init.d/rsyslog status 2>&1 > /dev/null && /etc/init.d/rsyslog restart
exit 0
;;
prerm)
exit 0
;;
postrm)
exit 0
;;
esac