it's going to work much better with this
[nodemanager.git] / sliver-systemd / vinit.service
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