[Unit]
Conflicts={{ containers | map(attribute='name') | flatten | join('.service ') }}.service

[Service]
ExecStartPre=-/usr/bin/sleep 15
ExecStopPost=-/usr/local/bin/restart-containers.sh