1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

pbx/tasks/enable-or-disable.yml: Asterisk starting snafu

This commit is contained in:
A Holt 2021-08-04 12:36:53 -04:00 committed by GitHub
parent f3626b4fde
commit 1c05a05b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,11 @@
# 2021-08-04: This stanza commonly causes systemd error "Asterisk is already
# 2021-08-04: Stanza below commonly causes systemd error "Asterisk is already
# running. /etc/init.d/asterisk will exit now" (initial installs especially?)
#
# Also 'systemctl restart freepbx' all alone during initial install -- is
# likewise unreliable -- as confirmed on both Ubuntu 20.04 and Debian 11 :/
# But without this stanza, 'systemctl restart freepbx' all alone during initial
# install ALSO fails to start Asterisk reliably, on Ubuntu 20.04 & Debian 11 :/
#
# Yes /etc/systemd/system/freepbx.service is supposed to run 'fwconsole stop'
# then 'fwconsole start' reliably, as many web posts recommend, But No Dice :/
# then 'fwconsole start' reliably, as many web posts recommend, But No Dice!
#
# Do we need something like 'RestartSec=3' in freepbx.service ??
#