mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
25 lines
548 B
Desktop File
25 lines
548 B
Desktop File
#
|
|
# Install with:
|
|
#
|
|
# cp debian-websockets.service /etc/systemd/system/websockets.service
|
|
# systemctl daemon-reload
|
|
# systemctl enable --now websockets.service
|
|
#
|
|
[Unit]
|
|
Description=Websocket Router Service
|
|
|
|
[Service]
|
|
WorkingDirectory=/var/www/fusionpbx
|
|
ExecStart=/usr/bin/php /var/www/fusionpbx/core/websockets/resources/service/websockets.php
|
|
RuntimeDirectory=fusionpbx
|
|
RuntimeDirectoryMode=0755
|
|
RuntimeDirectoryPreserve=yes
|
|
User=www-data
|
|
Group=www-data
|
|
Restart=always
|
|
RestartSec=5
|
|
StartLimitInterval=0
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|