[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