summaryrefslogtreecommitdiff
path: root/rngd.initd
blob: a111629e6fa5a1a66f570361fb37b4409a8e13f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
	need localmount
	after urandom
	provide entropy
}

command=/etc/rngd-neug.sh
pidfile="/run/${SVCNAME}.pid"
start_stop_daemon_args="--wait 1000"
retry="SIGKILL/5000"