Skip to content

Commit

Permalink
Merge pull request fdo-rs#676 from mmartinv/fix-systemd-dependencies
Browse files Browse the repository at this point in the history
fix(systemd-units): run before powering off the system
  • Loading branch information
mergify[bot] authored Oct 2, 2024
2 parents b775d03 + 52257aa commit 25dc5f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dracut/52fdo/manufacturing-client.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Description=Manufacturing client DIUN
DefaultDependencies=false

After=coreos-installer.service
Before=coreos-installer-poweroff.service
Before=coreos-installer-noreboot.service
Before=coreos-installer-reboot.service
ConditionPathExists=/etc/manufacturing-client-config
Requires=dev-disk-by\x2dlabel-boot.device
Expand All @@ -15,4 +17,4 @@ Type=oneshot
Environment=LOG_LEVEL=info
EnvironmentFile=/etc/manufacturing-client-config
ExecStart=/usr/libexec/manufacturing-client-service
RemainAfterExit=yes
RemainAfterExit=yes

0 comments on commit 25dc5f0

Please sign in to comment.