[pkg-dhcp-devel] Bug#726604: isc-dhcp-relay: please add status parameter to init script
Bauer, Stefan (IZLBW Extern)
Stefan.Bauer at iz.bwl.de
Thu Oct 17 06:17:25 UTC 2013
Package: isc-dhcp-relay
Version: 4.1.1-P1-15+squeeze8
We're using isc-dhcp-relay in a cluster environment and need to call the init script with status to get a return code if running or not.
Our quick hack is to add in /etc/init.d/isc-dhcp-relay:
status)
ps aux | grep dhc | grep -q -v grep || exit 1
;;
Please include something similar to the next release.
Regards
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20131017/7dcfbc87/attachment.html>
More information about the pkg-dhcp-devel
mailing list