mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user