Update and rename app/switch/resources/service/debian-event_guard.service to app/event_guard/resources/service/debian.service

Move event guard to its own directory.
This commit is contained in:
FusionPBX 2022-07-28 08:38:16 -06:00 committed by GitHub
parent 9d2efbeccb
commit 22a243ceb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
; Author: Mark J Crane <markjcrane@fusionpbx.com>
; cp /var/www/fusionpbx/app/switch/resources/service/debian-event_guard.service /etc/systemd/system/event_guard.service
; cp /var/www/fusionpbx/app/event_guard/resources/service/debian.service /etc/systemd/system/event_guard.service
; systemctl enable event_guard
; systemctl start event_guard
; systemctl daemon-reload
@ -22,7 +22,7 @@ WorkingDirectory=/var/www/fusionpbx
;EnvironmentFile=-/etc/default/fusionpbx
ExecStartPre=/bin/mkdir -p /var/run/fusionpbx
;ExecStartPre=/bin/chown -R ${USER}:${GROUP} /var/www/fusionpbx
ExecStart=/usr/bin/php /var/www/fusionpbx/app/switch/resources/service/event_guard.php
ExecStart=/usr/bin/php /var/www/fusionpbx/app/event_guard/resources/service/event_guard.php
TimeoutSec=55s
Restart=always