summaryrefslogtreecommitdiffstats
path: root/share/systemd/container@.service
blob: 539139eda4db7efcb2b4e64488da62e24c6a3a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description="Container: %i"
Documentation=man:container-tools

[Service]
Type=simple
ExecStart=/usr/bin/container start --name %i --nspawn
ExecStartPost=/usr/bin/container start --name %i --start
ExecStopPost=/usr/bin/container stop -n %i --clean
KillMode=mixed

[Install]
WantedBy=multi-user.target