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

[Service]
Type=simple
Environment=TERM=xterm-256color
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