1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lufi_ynh.git synced 2024-09-03 19:36:28 +02:00

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.
This commit is contained in:
Augustin Trancart 2020-04-26 21:17:36 +02:00
parent 17fc3def18
commit 22b6072178

View file

@ -8,7 +8,6 @@ After=network.target
Type=forking Type=forking
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
RemainAfterExit=yes
WorkingDirectory=__FINALPATH__ WorkingDirectory=__FINALPATH__
PIDFile=__FINALPATH__script/hypnotoad.pid PIDFile=__FINALPATH__script/hypnotoad.pid
ExecStart=/usr/local/bin/carton exec hypnotoad script/lufi ExecStart=/usr/local/bin/carton exec hypnotoad script/lufi