Update finish.sh

This commit is contained in:
Scuzz12 2022-08-07 11:10:01 -04:00 committed by GitHub
parent 232e30cd25
commit d524fa5a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 2 deletions

View File

@ -106,9 +106,18 @@ systemctl daemon-reload
#install the event_guard service
cp /var/www/fusionpbx/app/event_guard/resources/service/debian.service /etc/systemd/system/event_guard.service
/bin/systemctl enable event_guard
/bin/systemctl start event_guard
cat <<EOF | sudo tee /etc/systemd/system/event_gaurd.timer
[Unit]
Description=Timer for the event_gaurd service
[Timer]
OnBootSec=20sec
[Install]
WantedBy=timers.target
EOF
/bin/systemctl daemon-reload
/bin/systemctl enable event_gaurd.timer
#welcome message
echo ""