rng-tools/rngd.service
Vladis Dronov 9f756429ae Add a config file for storing rngd options
So rngd options can be adjusted and not overwritten on updates
Disable pkcs11 and nist entropy sources by default

Resolves: rhbz#2015566

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-11-23 23:31:25 +01:00

19 lines
459 B
Desktop File

[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