19 lines
459 B
SYSTEMD
19 lines
459 B
SYSTEMD
|
[Unit]
|
||
|
Description=Hardware RNG Entropy Gatherer Daemon
|
||
|
ConditionVirtualization=!container
|
||
|
Requires=rngd-wake-threshold.service
|
||
|
|
||
|
# The "-f" option is required for the systemd service rngd to work with Type=simple
|
||
|
[Service]
|
||
|
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
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|