stop-containers.conf.j2 190 B

123456
  1. [Unit]
  2. Conflicts={{ containers | map(attribute='name') | flatten | join('.service ') }}.service
  3. [Service]
  4. ExecStartPre=-/usr/bin/sleep 15
  5. ExecStopPost=-/usr/local/bin/restart-containers.sh