Add websockets and active_calls services

This commit is contained in:
FusionPBX
2025-06-24 13:47:56 -06:00
committed by GitHub
parent e25129c99a
commit a8f14d95e7

View File

@@ -110,6 +110,16 @@ cp /var/www/fusionpbx/app/event_guard/resources/service/debian.service /etc/syst
/bin/systemctl start event_guard
/bin/systemctl daemon-reload
#install the websockets service
cp /var/www/fusionpbx/core/websockets/resources/service/debian-websockets.service /etc/systemd/system/websockets.service
systemctl daemon-reload
systemctl enable --now websockets
#install the active_calls service
cp /var/www/fusionpbx/app/active_calls/resources/service/debian-active_calls.service /etc/systemd/system/active_calls.service
systemctl daemon-reload
systemctl enable --now active_calls
#add xml cdr import to crontab
apt install cron
(crontab -l; echo "* * * * * $(which php) /var/www/fusionpbx/app/xml_cdr/xml_cdr_import.php 300") | crontab