Change service to notify and restart on success

This commit is contained in:
Benedikt Ziemons 2020-11-14 23:38:58 +01:00
parent 5dbffd0eba
commit 78cb7e90cd
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -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