forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-crypt/jitterentropy-rngd: added openrc file
Signed-off-by: Toralf Förster <[email protected]> Signed-off-by: Matthias Maier <[email protected]>
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters