tlu/salt/states/docker/files/registry-container.service
jonas 26c92664fd new unit file for container
added correct unit file definition, fixes #1
2021-11-05 13:29:48 +01:00

14 lines
301 B
Desktop File

[Unit]
Description=Docker registry container
Wants=network.target
After=network-online.target
[Service]
Restart=on-failure
ExecStart=/usr/bin/podman start -a docker-registry
ExecStop=/usr/bin/podman stop -t 120 docker-registry
SuccessExitStatus=2
[Install]
WantedBy=multi-user.target default.target