Add notify access and lower restart cooldown

This commit is contained in:
Benedikt Ziemons 2020-11-14 23:57:34 +01:00
parent 4eb083e0bb
commit 260f8c1e0c
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -6,10 +6,11 @@ After=network-online.target
[Service]
Type=notify
NotifyAccess=all
Environment=PODMAN_SYSTEMD_UNIT=%n
ExecStart=/usr/local/bin/podlaunch %i
Restart=always
RestartSec=30s
RestartSec=20s
TimeoutStartSec=2min
TimeoutStopSec=1min
KillMode=none