Skip to content
Snippets Groups Projects
Commit 4b42c3d6 authored by Jun Futagawa's avatar Jun Futagawa Committed by Michael Hanselmann
Browse files

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: default avatarJun Futagawa <jfut@integ.jp>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent d67e0a94
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment