aports/main/haveged/haveged.initd
Jakub Jirutka e6b956a47c main/haveged: don't force supervise-daemon
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.
2021-01-08 14:30:30 +01:00

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
}