« Previous | Next » 

Revision 07c7c94a


Added by Jun Futagawa about 12 years ago

Add support to daemon-util for distributions without start-stop-daemon

This adds support to daemon-util for Red Hat based distributions that
do not have a start-stop-daemon. If /sbin/start-stop-daemon is not
available, daemon-util will source /etc/rc.d/init.d/functions.
check(), start(), and stop() are updated to use the relevant functions
from /etc/rc.d/init.d/functions.

Thanks to Stephen Fromm and Michael Hanselmann for improving the error
handling, style, and comments.

Signed-off-by: Jun Futagawa <>
Reviewed-by: Michael Hanselmann <>
(cherry picked from commit 4b42c3d665d4d92068e4319dfd35e83a54443f3b)


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences