it's going to work much better with this
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 31 Jan 2014 16:48:06 +0000 (17:48 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 31 Jan 2014 16:48:06 +0000 (17:48 +0100)
sliver-systemd/vinit.service [new file with mode: 0644]

diff --git a/sliver-systemd/vinit.service b/sliver-systemd/vinit.service
new file mode 100644 (file)
index 0000000..5e3cb62
--- /dev/null
@@ -0,0 +1,10 @@
+[Unit]
+Description=User-defined initscript manager
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/bin/bash -c '/etc/rc.d/init.d/vinit.slice start $(cat /etc/slicename) >> /var/log/vinit 2>&1 &'
+
+[Install]
+WantedBy=multi-user.target