Files
fusionpbx/core/websockets/resources/service/debian-websockets.service
2025-08-19 18:05:40 -06:00

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