mailinabox/services/nsd.sh

11 lines
123 B
Bash
Executable File

#!/bin/bash
PROCESS=nsd
/etc/init.d/$PROCESS start
while [ `ps -C $PROCESS -o pid= | wc -l` -gt 0 ]; do
sleep 30
done