Services no longer require the --no-fork parameter

This commit is contained in:
FusionPBX
2025-08-04 15:59:35 -06:00
committed by GitHub
parent 9d9a162927
commit 0157a58639
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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