mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update debian-websockets.service (#7445)
Replace the deprecated PermissionsStartOnly option in favour of the supported method of elevating the exec commands. https://github.com/systemd/systemd/pull/10802#issuecomment-439446299
This commit is contained in:
@@ -9,9 +9,8 @@
|
||||
Description=Websocket Router Service
|
||||
|
||||
[Service]
|
||||
PermissionsStartOnly=true
|
||||
ExecStartPre=mkdir -p /var/run/fusionpbx
|
||||
ExecStartPre=chown www-data:www-data /var/run/fusionpbx
|
||||
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
|
||||
User=www-data
|
||||
Group=www-data
|
||||
|
||||
Reference in New Issue
Block a user