Update debian-websockets.service to fix non start at reboot (#7433)

fix service to set owner and group permissions on /var/run/fusionpbx to www-data
This commit is contained in:
graycom-git
2025-07-30 15:05:30 +01:00
committed by GitHub
parent 6ad8326463
commit de3d18177f

View File

@@ -9,6 +9,7 @@
Description=Websocket Router Service
[Service]
PermissionsStartOnly=true
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