From 78cb7e90cdcc85d7b841e396561ee3623d889558 Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Sat, 14 Nov 2020 23:38:58 +0100 Subject: [PATCH] Change service to notify and restart on success --- pod@.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pod@.service b/pod@.service index b400685..bf468f4 100644 --- a/pod@.service +++ b/pod@.service @@ -5,10 +5,10 @@ Wants=network.target After=network-online.target [Service] -Type=simple +Type=notify Environment=PODMAN_SYSTEMD_UNIT=%n ExecStart=/usr/local/bin/podlaunch %i -Restart=on-failure +Restart=always RestartSec=30s TimeoutStartSec=2min TimeoutStopSec=1min