summaryrefslogtreecommitdiff
blob: b354bc53e080d1effa3e3a87c52b2f883015dc4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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