2020-07-22 10:08:29 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Combustion
|
|
|
|
DefaultDependencies=false
|
|
|
|
|
2020-09-18 09:12:39 +02:00
|
|
|
ConditionKernelCommandLine=|ignition.firstboot
|
|
|
|
ConditionKernelCommandLine=|combustion.firstboot
|
2020-07-22 10:08:29 +02:00
|
|
|
|
2021-07-28 16:04:19 +02:00
|
|
|
# /sysroot needs to be available, but it's temporarily stopped
|
|
|
|
# for remounting so a direct requirement is not possible
|
|
|
|
Requires=initrd-root-device.target
|
|
|
|
After=initrd-root-device.target
|
2020-07-22 10:08:29 +02:00
|
|
|
|
2020-09-11 10:27:57 +02:00
|
|
|
# combustion-prepare sets up network, if required
|
|
|
|
Requires=combustion-prepare.service
|
|
|
|
After=combustion-prepare.service
|
|
|
|
|
2020-07-22 10:08:29 +02:00
|
|
|
# Optionally make network available
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
# After ignition completed its stuff
|
|
|
|
After=ignition-complete.target
|
|
|
|
|
|
|
|
# So that /etc/fstab's x-initrd.mount entries are read (again) later
|
|
|
|
Before=initrd-parse-etc.service
|
|
|
|
|
|
|
|
Conflicts=initrd-switch-root.target umount.target
|
|
|
|
Conflicts=dracut-emergency.service emergency.service emergency.target
|
|
|
|
|
2020-09-11 10:27:57 +02:00
|
|
|
# Without this it goes into an endless loop on failure
|
|
|
|
OnFailure=emergency.target
|
|
|
|
OnFailureJobMode=isolate
|
|
|
|
|
2020-07-22 10:08:29 +02:00
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/usr/bin/combustion
|