aboutsummaryrefslogtreecommitdiffstats
path: root/community/rng-tools/rngd.initd
blob: 07805ca3564f58dfbb6d6988a21edb7172edd763 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run

description="Random number generator daemon"

command="/usr/sbin/rngd"
command_args="-f ${command_args:-$RNGD_OPTS}"
command_background="yes"

start_stop_daemon_args="--wait 5"
pidfile="/run/$RC_SVCNAME.pid"

depend() {
	need localmount
	after urandom
	provide entropy
}