Change service to notify and restart on success
This commit is contained in:
parent
5dbffd0eba
commit
78cb7e90cd
|
@ -5,10 +5,10 @@ Wants=network.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=notify
|
||||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||||
ExecStart=/usr/local/bin/podlaunch %i
|
ExecStart=/usr/local/bin/podlaunch %i
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
RestartSec=30s
|
RestartSec=30s
|
||||||
TimeoutStartSec=2min
|
TimeoutStartSec=2min
|
||||||
TimeoutStopSec=1min
|
TimeoutStopSec=1min
|
||||||
|
|
Loading…
Reference in a new issue