From 772d01f73a347ee2a0b6d40d0f0b478db972cd9b Mon Sep 17 00:00:00 2001 From: Respheal Date: Thu, 17 Dec 2020 13:49:24 -0500 Subject: [PATCH] Added RemainAfterExit --- templates/etc/systemd/restart.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/etc/systemd/restart.conf.j2 b/templates/etc/systemd/restart.conf.j2 index b20f72d..ce244dc 100644 --- a/templates/etc/systemd/restart.conf.j2 +++ b/templates/etc/systemd/restart.conf.j2 @@ -7,6 +7,7 @@ ExecStart= ExecStart={{ monit_executable_path }} -I ExecStop={{ monit_executable_path }} quit ExecReload={{ monit_executable_path }} reload +RemainAfterExit=no # Under what condition does the service restart (always, on-failure, on-abnormal) Restart={{ systemd_restart_setting }}