mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 10:24:46 +02:00
supervise-daemon is still experimental, has bad defaults and tends
to be unreliable. Users can enable supervise-daemon, if they want to,
simply by declaring `supervisor=supervise-daemon` in
/etc/conf.d/haveged.
See my mail from Tue, 15 Dec 2020 15:33:16 +0100 in alpine-devel
mailing-list in topic "Use of supervise-daemon in Alpine".
(I cannot simply reference it from ML archive because it's broken.)
This partially reverts c1b6b2e5ce
.
15 lines
340 B
Bash
15 lines
340 B
Bash
#!/sbin/openrc-run
|
|
|
|
description="Entropy harvesting daemon using CPU timings"
|
|
|
|
command="/usr/sbin/haveged"
|
|
# $HAVEGED_OPTS is here for backward compatiblity only
|
|
command_args="--Foreground ${command_args:-$HAVEGED_OPTS}"
|
|
command_background="yes"
|
|
pidfile="/run/$RC_SVCNAME.pid"
|
|
|
|
depend() {
|
|
need localmount
|
|
after urandom
|
|
provide entropy
|
|
}
|