blob: 9e9f72090661d16cd71ad12ecbe7021e19994310 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description="Container: %i"
Documentation=man:compute-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
|