From 4f5ed15b98e6d284889b1759737b1d36f6a4c835 Mon Sep 17 00:00:00 2001 From: Andreas Grimm Date: Mon, 25 Feb 2019 13:22:53 +0100 Subject: [PATCH] Restart on exit/failure. --- systemd/metrics.sh.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/metrics.sh.service b/systemd/metrics.sh.service index 2d529d7..c737549 100644 --- a/systemd/metrics.sh.service +++ b/systemd/metrics.sh.service @@ -5,6 +5,7 @@ After=network.target [Service] ExecStart=/opt/metrics.sh/metrics.sh -c /etc/metrics.sh/metrics.ini +Restart=always [Install] WantedBy=multi-user.target \ No newline at end of file