From f3860b5fd793eefa7cf668ce3477926cda55cf26 Mon Sep 17 00:00:00 2001 From: Pavel Skuratovich Date: Thu, 9 Feb 2023 23:09:16 +0300 Subject: [PATCH] Restart systemd service also on unclean exit code --- redis-go-to-master.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis-go-to-master.service b/redis-go-to-master.service index 0aeb3d1..f25b647 100644 --- a/redis-go-to-master.service +++ b/redis-go-to-master.service @@ -6,7 +6,7 @@ After=multi-user.target [Service] Type=notify ExecStart=/usr/bin/redis-go-to-master /etc/redis-go-to-master.yaml -Restart=on-abnormal +Restart=on-failure [Install] WantedBy=multi-user.target