26c92664fd
added correct unit file definition, fixes #1
14 lines
301 B
Desktop File
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
|