From 0157a58639adf92cc994b3720548208488baf58f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 4 Aug 2025 15:59:35 -0600 Subject: [PATCH] Services no longer require the --no-fork parameter --- app/active_calls/resources/service/debian-active_calls.service | 2 +- app/system/resources/service/debian-system_dashboard.service | 2 +- core/websockets/resources/service/debian-websockets.service | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/active_calls/resources/service/debian-active_calls.service b/app/active_calls/resources/service/debian-active_calls.service index 1506006e89..6b96c5fb3b 100644 --- a/app/active_calls/resources/service/debian-active_calls.service +++ b/app/active_calls/resources/service/debian-active_calls.service @@ -2,7 +2,7 @@ Description=Active Calls Websocket Service [Service] -ExecStart=/usr/bin/php /var/www/fusionpbx/app/active_calls/resources/service/active_calls.php --no-fork +ExecStart=/usr/bin/php /var/www/fusionpbx/app/active_calls/resources/service/active_calls.php User=www-data Group=www-data Restart=always diff --git a/app/system/resources/service/debian-system_dashboard.service b/app/system/resources/service/debian-system_dashboard.service index d36ad17744..158a7ed318 100644 --- a/app/system/resources/service/debian-system_dashboard.service +++ b/app/system/resources/service/debian-system_dashboard.service @@ -22,7 +22,7 @@ WorkingDirectory=/var/www/fusionpbx ;EnvironmentFile=-/etc/default/fusionpbx ExecStartPre=/bin/mkdir -p /var/run/fusionpbx ;ExecStartPre=/bin/chown -R ${USER}:${GROUP} /var/www/fusionpbx -ExecStart=/usr/bin/php /var/www/fusionpbx/app/system/resources/service/system_status.php --no-fork +ExecStart=/usr/bin/php /var/www/fusionpbx/app/system/resources/service/system_status.php User=www-data Group=www-data TimeoutSec=55s diff --git a/core/websockets/resources/service/debian-websockets.service b/core/websockets/resources/service/debian-websockets.service index 80a9e06d10..de374e71b9 100644 --- a/core/websockets/resources/service/debian-websockets.service +++ b/core/websockets/resources/service/debian-websockets.service @@ -11,7 +11,7 @@ Description=Websocket Router Service [Service] ExecStartPre=+mkdir -p /var/run/fusionpbx ExecStartPre=+chown www-data:www-data /var/run/fusionpbx -ExecStart=/usr/bin/php /var/www/fusionpbx/core/websockets/resources/service/websockets.php --no-fork +ExecStart=/usr/bin/php /var/www/fusionpbx/core/websockets/resources/service/websockets.php User=www-data Group=www-data Restart=always