The following changes were made:

* Added patch routine
  * Added patch to disable nis in default config
  * Updated init script to use status_of_proc
  * usher will now restart postfix if running
This commit is contained in:
2018-06-08 09:28:52 -05:00
parent 11fd07811b
commit c456a05512
4 changed files with 25 additions and 9 deletions

View File

@@ -37,13 +37,7 @@ case "$1" in
$0 start
;;
status)
pid=$(pidofproc -p "$PIDFILE" "$BINFILE");
if [ "$?" -ne 0 ]; then
echo "postfix is not runing"
else
echo "postfix running with PID: $pid"
fi
status_of_proc -p "$PIDFILE" "$DAEMON"
;;
*)
echo "Usage: $0 {start|stop|reload|restart|status}"