diff options
Diffstat (limited to 'flx')
-rwxr-xr-x | flx/wdd/files/wdd.initd | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/flx/wdd/files/wdd.initd b/flx/wdd/files/wdd.initd index c0c3e2e4..4ef32d00 100755 --- a/flx/wdd/files/wdd.initd +++ b/flx/wdd/files/wdd.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -8,6 +8,13 @@ depend() { use dev } +status() { + ebegin "Check ${RC_SVCNAME} status" + start-stop-daemon --quiet --signal 0 \ + --exec "/sbin/${RC_SVCNAME}" + eend $? +} + start() { ebegin "Starting ${RC_SVCNAME}" start-stop-daemon --start --quiet --nicelevel "${NICE:-10}" \ |