1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-13 08:39:47 +03:00
pmaports/extra-repos/systemd/systemd-services/system-lxc@.service
Caleb Connolly bd478d9307
systemd-services: add lxc (MR 5598) (MR 5563)
add the lxc template service

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:34 +01:00

14 lines
252 B
Desktop File

[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