diff options
Diffstat (limited to 'contrib/Fedora/haveged-switch-root.service')
-rw-r--r-- | contrib/Fedora/haveged-switch-root.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/Fedora/haveged-switch-root.service b/contrib/Fedora/haveged-switch-root.service new file mode 100644 index 0000000..8cc38cf --- /dev/null +++ b/contrib/Fedora/haveged-switch-root.service @@ -0,0 +1,17 @@ +[Unit] +Description=Tell haveged about new root +DefaultDependencies=no +ConditionPathExists=/etc/initrd-release +Before=initrd-switch-root.service +JoinsNamespaceOf=haveged.service + +[Service] +ExecStart=-@SBIN_DIR@/haveged -c root=/sysroot +PrivateNetwork=yes +Type=oneshot +StandardInput=null +StandardOutput=null +StandardError=null + +[Install] +WantedBy=initrd-switch-root.target |