aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system/rhel-import-state.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/system/rhel-import-state.service')
-rw-r--r--systemd/system/rhel-import-state.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/systemd/system/rhel-import-state.service b/systemd/system/rhel-import-state.service
new file mode 100644
index 00000000..347dd159
--- /dev/null
+++ b/systemd/system/rhel-import-state.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Import network configuration from initramfs
+DefaultDependencies=no
+ConditionPathIsReadWrite=/
+ConditionDirectoryNotEmpty=/run/initramfs/state
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target systemd-tmpfiles-setup.service
+After=systemd-remount-fs.service
+
+[Service]
+ExecStart=/lib/systemd/rhel-import-state
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes