summarylogtreecommitdiffstats
path: root/lxd.service
diff options
context:
space:
mode:
Diffstat (limited to 'lxd.service')
-rw-r--r--lxd.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/lxd.service b/lxd.service
new file mode 100644
index 000000000000..f038cc1fe143
--- /dev/null
+++ b/lxd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Daemon based on liblxc offering a REST API to manage containers.
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/lxd --group lxd
+ExecStop=/usr/bin/lxd shutdown
+KillMode=process
+LimitNOFILE=1048576
+LimitNPROC=infinity
+TasksMax=infinity
+
+[Install]
+WantedBy=multi-user.target