buildroot/package/rng-tools/rngd.service
Benoît Thébaudeau 463d0b9d1b package/rng-tools: systemd: support extra options
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>
2015-11-04 21:50:24 +01:00

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