summarylogtreecommitdiffstats
path: root/lxc-auto.service
diff options
context:
space:
mode:
authorMubashshir2021-06-02 21:22:27 +0600
committerMubashshir2021-06-02 21:22:27 +0600
commit3575e9088f8e5c2bfb949d460cf03073a3a9234d (patch)
treeb001dc7c6302f0d9cfcc26569e265cdb3a61d617 /lxc-auto.service
downloadaur-3575e9088f8e5c2bfb949d460cf03073a3a9234d.tar.gz
Init
Diffstat (limited to 'lxc-auto.service')
-rw-r--r--lxc-auto.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/lxc-auto.service b/lxc-auto.service
new file mode 100644
index 000000000000..01b9a6d81857
--- /dev/null
+++ b/lxc-auto.service
@@ -0,0 +1,14 @@
+[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
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target