summarylogtreecommitdiffstats
path: root/lxc-auto.service
diff options
context:
space:
mode:
authorgraysky2018-06-11 16:08:44 -0400
committergraysky2018-06-11 16:08:44 -0400
commitc5c0c0d8dc1a73c8bbb1bf91237797c130d5f0b6 (patch)
tree022e44b884a74939dd7bb23a7056cd78b51bacf4 /lxc-auto.service
parent5c43a6ebd17b40aa31c17abb8ba9e06c5922d8f5 (diff)
downloadaur-c5c0c0d8dc1a73c8bbb1bf91237797c130d5f0b6.tar.gz
Update to 3.0.0.r278.gc6d0d3cb-1
Diffstat (limited to 'lxc-auto.service')
-rw-r--r--lxc-auto.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/lxc-auto.service b/lxc-auto.service
new file mode 100644
index 000000000000..ac93e5603eba
--- /dev/null
+++ b/lxc-auto.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Autostart LXC Container
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/lxc-autostart
+ExecStop=/usr/bin/lxc-autostart -s
+Delegate=true
+TasksMax=32768
+
+[Install]
+WantedBy=multi-user.target