463d0b9d1b
Add a DAEMON_ARGS configuration variable in order to make it possible to pass custom extra options to rngd. This environment variable must defined in /etc/default/rngd if needed, like with the SysV init script. This file does not have to be present if not needed. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> Reviewed-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 lines
202 B
Desktop File
11 lines
202 B
Desktop File
[Unit]
|
|
Description=Hardware RNG Entropy Gatherer Daemon
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/rngd -f $DAEMON_ARGS
|
|
SuccessExitStatus=66
|
|
EnvironmentFile=-/etc/default/rngd
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|