diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2018-05-30 17:01:59 +0200 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2018-06-01 14:51:29 +0200 |
commit | 37109fdf9808ffc87cfff5604c8ca445ffdec64c (patch) | |
tree | 83e3f9456a148065fb3d84b6f6b42127000ad577 /usr/lib/systemd/system/import-state.service | |
parent | 1ea9057be049bebf01e24c48ff14e1121e9b4645 (diff) | |
download | initscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.tar initscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.tar.gz initscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.tar.bz2 initscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.tar.xz initscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.zip |
fedora-* services renamed to more general names
This removes the OS flavour embedded into the initscripts. See also:
https://bugzilla.redhat.com/show_bug.cgi?id=1584645
Resolves: #161
Diffstat (limited to 'usr/lib/systemd/system/import-state.service')
-rw-r--r-- | usr/lib/systemd/system/import-state.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/import-state.service b/usr/lib/systemd/system/import-state.service new file mode 100644 index 00000000..2aab4301 --- /dev/null +++ b/usr/lib/systemd/system/import-state.service @@ -0,0 +1,17 @@ +[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 sysinit.target +After=local-fs.target + +[Service] +ExecStart=/usr/lib/systemd/import-state +Type=oneshot +TimeoutSec=0 +RemainAfterExit=yes + +[Install] +WantedBy=sysinit.target |