aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-10-15 17:07:51 -0400
committerBill Nottingham <notting@redhat.com>2010-10-15 17:07:51 -0400
commitcc08cf0ffe30d0564c7517ffcee2401121f17917 (patch)
treee5ffc1ac88007c99de64c12d67055a69fad30e8f
parentf519cb2a5fa7e306baa5813e826b39341796dd49 (diff)
downloadinitscripts-cc08cf0ffe30d0564c7517ffcee2401121f17917.tar
initscripts-cc08cf0ffe30d0564c7517ffcee2401121f17917.tar.gz
initscripts-cc08cf0ffe30d0564c7517ffcee2401121f17917.tar.bz2
initscripts-cc08cf0ffe30d0564c7517ffcee2401121f17917.tar.xz
initscripts-cc08cf0ffe30d0564c7517ffcee2401121f17917.zip
Add a basic sysint service that is After: local-fs so that sockets still work.
This is a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=30913
-rw-r--r--systemd/system/sysinit.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/system/sysinit.service b/systemd/system/sysinit.service
new file mode 100644
index 00000000..9b0ccf77
--- /dev/null
+++ b/systemd/system/sysinit.service
@@ -0,0 +1,13 @@
+
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=local-fs.target
+
+[Service]
+ExecStart=/bin/true
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes