package/xfont_font-cronyx-cyrillic: add hash file
[buildroot-gz.git] / package / supervisor / S99supervisord
blob921dcf63334a9f11abf2af7159488080818af93d
1 #!/bin/sh
3 mkdir -p /var/log/supervisor
5 case "$1" in
6 start)
7 printf "Starting supervisord: "
8 start-stop-daemon -S -q -p /var/run/supervisord.pid --exec /usr/bin/supervisord
9 echo "done"
11 stop)
12 printf "Stopping supervisord: "
13 start-stop-daemon -K -q -p /var/run/supervisord.pid
14 echo "done"
16 restart)
17 "$0" stop
18 sleep 5
19 "$0" start
21 reload)
22 start-stop-daemon -K -q -p /var/run/supervisord.pid -s HUP
25 echo "Usage: $0 {start|stop|restart|reload}"
26 exit 1
27 esac
29 exit $?