rng-tools/SOURCES/rngd.service

19 lines
456 B
SYSTEMD
Raw Normal View History

2019-05-07 09:48:11 +00:00
[Unit]
Description=Hardware RNG Entropy Gatherer Daemon
2021-09-21 07:14:53 +00:00
ConditionVirtualization=!container
2020-04-28 09:39:23 +00:00
Requires=rngd-wake-threshold.service
2019-05-07 09:48:11 +00:00
# The "-f" option is required for the systemd service rngd to work with Type=simple
2019-05-07 09:48:11 +00:00
[Service]
2020-04-28 09:39:23 +00:00
User=rngd
Group=rngd
CapabilityBoundingSet=CAP_SYS_ADMIN
AmbientCapabilities=CAP_SYS_ADMIN
TimeoutStartSec=60s
Type=simple
EnvironmentFile=/etc/sysconfig/rngd
ExecStart=/usr/sbin/rngd -f $RNGD_ARGS
2019-05-07 09:48:11 +00:00
[Install]
WantedBy=sysinit.target