summaryrefslogtreecommitdiff
path: root/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd
blob: 1a7fb84723bfc058e708d477bd8909286b371308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/openrc-run
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

name="jitterentropy daemon"
command="/usr/sbin/jitterentropy-rngd"
pidfile="/run/jitterentropy-rngd.pid"
command_args="--pid ${pidfile}"

depend() {
   need localmount
   before net
   use logger

   provide entropy
}