/lib/systemd/system/container@.service is in open-infrastructure-container-tools 20180218-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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
|