void-packages/srcpkgs/lxc/files/service
2014-02-24 14:55:56 +01:00

11 lines
180 B
Text

[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