PKGBUILDs/extra/haveged/haveged.service

24 lines
551 B
SYSTEMD
Raw Normal View History

2018-05-29 02:14:06 +00:00
[Unit]
Description=Entropy Harvesting Daemon
Documentation=man:haveged(8)
2018-08-05 20:28:00 +00:00
DefaultDependencies=no
ConditionVirtualization=!container
After=systemd-random-seed.service
Before=sysinit.target shutdown.target
2018-05-29 02:14:06 +00:00
[Service]
2018-08-16 23:29:31 +00:00
ExecStartPre=+/usr/bin/sysctl -w kernel.random.write_wakeup_threshold=1024
ExecStart=/usr/bin/haveged --Foreground --verbose=1
2018-05-29 02:14:06 +00:00
SuccessExitStatus=143
2018-08-16 23:29:31 +00:00
DynamicUser=on
AmbientCapabilities=CAP_SYS_ADMIN
2018-08-05 20:28:00 +00:00
NoNewPrivileges=on
PrivateDevices=on
PrivateNetwork=on
PrivateTmp=on
2018-05-29 02:14:06 +00:00
ProtectSystem=full
ProtectHome=on
[Install]
2018-08-24 12:35:14 +00:00
WantedBy=sysinit.target