void-packages/srcpkgs/lxc/files/service

12 lines
180 B
Plaintext

[Unit]
Description=%i LXC
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/lxc-start -d -n %i
ExecStop=/usr/bin/lxc-stop -n %i
[Install]
WantedBy=multi-user.target