aboutsummaryrefslogtreecommitdiffstats
path: root/community/rng-tools/rngd.initd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2019-01-17 10:53:44 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-01-17 10:54:07 +0000
commitbb42feea4acafe20d687c73f6d3b53c0cc891e25 (patch)
treef9ec172699e00f017cc10a0975020162516ef01a /community/rng-tools/rngd.initd
parent257c364288b2d85fc21b8b6934b59812f89b8af8 (diff)
downloadaports-bb42feea4acafe20d687c73f6d3b53c0cc891e25.tar.bz2
aports-bb42feea4acafe20d687c73f6d3b53c0cc891e25.tar.xz
community/rng-tools$: upgrade to 6.6
- Remove unsupported daemon options which cause the daemon failing to start - Use built-in pidfile to properly stop the daemon - Add openrc subpkg
Diffstat (limited to 'community/rng-tools/rngd.initd')
-rw-r--r--community/rng-tools/rngd.initd6
1 files changed, 2 insertions, 4 deletions
diff --git a/community/rng-tools/rngd.initd b/community/rng-tools/rngd.initd
index 07805ca356..92ca90aa35 100644
--- a/community/rng-tools/rngd.initd
+++ b/community/rng-tools/rngd.initd
@@ -2,12 +2,10 @@
description="Random number generator daemon"
+pidfile="/run/$RC_SVCNAME.pid"
command="/usr/sbin/rngd"
-command_args="-f ${command_args:-$RNGD_OPTS}"
-command_background="yes"
-
+command_args="--quiet --background --pid-file $pidfile $RNGD_OPTS"
start_stop_daemon_args="--wait 5"
-pidfile="/run/$RC_SVCNAME.pid"
depend() {
need localmount