Thomas's change revisited as a change to specfile:
[vserver-reference.git] / systemd / lxc-sliceimage.service
diff --git a/systemd/lxc-sliceimage.service b/systemd/lxc-sliceimage.service
new file mode 100644 (file)
index 0000000..c3c4d67
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=LXC Sliceimage service
+Before=nm.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/lxc-sliceimage start
+ExecStop=/usr/bin/lxc-sliceimage stop
+ExecReload=/usr/bin/lxc-sliceimage reload
+
+[Install]
+WantedBy=multi-user.target