From 8784a0abf0440c1882b7984c803cb7de3b50805a Mon Sep 17 00:00:00 2001 From: Egg Date: Sun, 28 May 2023 22:22:39 +0200 Subject: [PATCH] switch daemon to rc_exec otherwise it fails to start --- deployment/backend_daemon | 2 +- deployment/frontend_daemon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/backend_daemon b/deployment/backend_daemon index 7553769..a474fc0 100644 --- a/deployment/backend_daemon +++ b/deployment/backend_daemon @@ -9,7 +9,7 @@ rc_bg=YES rc_reload=NO rc_start() { - ${rcexec} "cd /srv/ticketfrei; nice -n15 ${daemon} ${daemon_flags}" + rc_exec "cd /srv/ticketfrei; /usr/bin/nice -n15 ${daemon} ${daemon_flags}" } rc_cmd $1 diff --git a/deployment/frontend_daemon b/deployment/frontend_daemon index dfc1c82..d12604c 100644 --- a/deployment/frontend_daemon +++ b/deployment/frontend_daemon @@ -9,7 +9,7 @@ rc_bg=YES rc_reload=NO rc_start() { - ${rcexec} "env > /tmp/envars; cd /srv/ticketfrei; ${daemon} ${daemon_flags}" + rc_exec "env > /tmp/envars; cd /srv/ticketfrei; ${daemon} ${daemon_flags}" } rc_cmd $1