From 22b6072178ecec9bedcc6d7510f9df2e0848257d Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Sun, 26 Apr 2020 21:17:36 +0200 Subject: [PATCH] Remove RemainAfterExit in systemd unit RemainAfterExit means that the service should be considered active even when all its children has terminated. This is not what we want here as the child process created by carton is a daemon process and not expected to terminate. Also, on stretch, the return code of the child process has no influence on the status of the service if RemainAfterExit is set. --- conf/systemd.service | 1 - 1 file changed, 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 8cc58b2..f66c471 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,7 +8,6 @@ After=network.target Type=forking User=__APP__ Group=__APP__ -RemainAfterExit=yes WorkingDirectory=__FINALPATH__ PIDFile=__FINALPATH__script/hypnotoad.pid ExecStart=/usr/local/bin/carton exec hypnotoad script/lufi