contrib/Fedora/haveged-switch-root.service
raw| 1 | [Unit] |
| 2 | Description=Tell haveged about new root |
| 3 | DefaultDependencies=no |
| 4 | ConditionKernelVersion=<5.6 |
| 5 | ConditionPathExists=/etc/initrd-release |
| 6 | Before=initrd-switch-root.service |
| 7 | JoinsNamespaceOf=haveged.service |
| 8 | |
| 9 | [Service] |
| 10 | ExecStart=-@SBIN_DIR@/haveged -c root=/sysroot |
| 11 | PrivateNetwork=yes |
| 12 | Type=oneshot |
| 13 | StandardInput=null |
| 14 | StandardOutput=null |
| 15 | StandardError=null |
| 16 | |
| 17 | [Install] |
| 18 | WantedBy=initrd-switch-root.target |