open-plc-utils: new package
[buildroot-gz.git] / package / exim / S86exim
blob8c01b291e15a138511704461bd34ff17f76ebb0e
1 #!/bin/sh
3 # Start/stop exim
6 PIDFILE=/var/lock/exim/exim-daemon.pid
8 case "$1" in
9 start)
10 echo "Starting exim..."
11 start-stop-daemon -S -x exim -- -bd
13 stop)
14 echo -n "Stopping exim..."
15 start-stop-daemon -K -o -p $PIDFILE
17 restart|reload)
18 "$0" stop
19 "$0" start
22 echo "Usage: $0 {start|stop|restart}"
23 exit 1
24 esac
26 exit $?