2 # uwsgi init script for Arch linux
4 # editable settings are in /etc/conf.d/uwsgi
12 stat_busy
"Starting uwsgi"
22 stat_busy
"Stopping uwsgi"
24 kill -QUIT $PID &>/dev
/null
28 for i
in `seq 1 10`; do
29 [ -d /proc
/$PID ] ||
{ stat_done
; rm_daemon uwsgi
; rm $UWSGI_PID; exit 0; }
32 # fail if we reach this
42 echo "usage: $0 {start|stop|restart}"