When dnsmasq for example runs as dns server you have more than one pid.
~ $ ps -ef | grep dnsmasq 9289 nobody 2160 S /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z 10187 user 2864 S grep dnsmasq ~ $
In genwall I restarting dnsmasq with following code: Code: stop dnsmasq && start dnsmasq
stop dnsmasq && start dnsmasq
~ $ stop -sh: stop: not found ~ $ start -sh: start: not found ~ $
~ $ /etc/init.d/dnsmasq stop -sh: /etc/init.d/dnsmasq: not found ~ $ ls -l /etc/init.d/ | grep dnsmasq ~ $