summaryrefslogtreecommitdiffstats
path: root/share/systemd/container@.service
blob: 4a30ff6df57f21ee09c7830299768d318a12a3f7 (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 --no-notification
ExecStartPost=/usr/bin/container start --name %i --start --no-notification
ExecStopPost=/usr/bin/container stop -n %i --clean --no-notification
KillMode=mixed

[Install]
WantedBy=multi-user.target