summaryrefslogtreecommitdiff
path: root/app-emulation/lxc/files/lxc_at.service.4.0.0
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/lxc/files/lxc_at.service.4.0.0')
-rw-r--r--app-emulation/lxc/files/lxc_at.service.4.0.015
1 files changed, 15 insertions, 0 deletions
diff --git a/app-emulation/lxc/files/lxc_at.service.4.0.0 b/app-emulation/lxc/files/lxc_at.service.4.0.0
new file mode 100644
index 000000000000..b354bc53e080
--- /dev/null
+++ b/app-emulation/lxc/files/lxc_at.service.4.0.0
@@ -0,0 +1,15 @@
+[Unit]
+Description=Linux Container %i
+After=network.target
+Wants=lxcfs.service
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/lxc-start -d -n %i -p /run/lxc-%i.pid
+PIDFile=/run/lxc-%i.pid
+ExecStop=/usr/bin/lxc-stop -n %i
+Delegate=true
+TasksMax=32768
+
+[Install]
+WantedBy=multi-user.target