openocd: avoid documentation rebuild to fix build issues
[buildroot-gz.git] / package / exim / S86exim
blobbec88fc2229ac1a93edd672ae537fe1813454873
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 printf "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 $?