mailinabox/services/nginx.sh

11 lines
125 B
Bash
Raw Normal View History

2015-01-24 10:29:16 +00:00
#!/bin/bash
PROCESS=nginx
/etc/init.d/$PROCESS start
while [ `ps -C $PROCESS -o pid= | wc -l` -gt 0 ]; do
sleep 30
done