mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
15 lines
252 B
SYSTEMD
15 lines
252 B
SYSTEMD
|
[Unit]
|
||
|
Description=%i LXC
|
||
|
After=network.target
|
||
|
|
||
|
[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
|