From 1c05a05b6426c3a5307a748a717bf3873e6519bf Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 4 Aug 2021 12:36:53 -0400 Subject: [PATCH] pbx/tasks/enable-or-disable.yml: Asterisk starting snafu --- roles/pbx/tasks/enable-or-disable.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/pbx/tasks/enable-or-disable.yml b/roles/pbx/tasks/enable-or-disable.yml index 638b06957..e60921b59 100644 --- a/roles/pbx/tasks/enable-or-disable.yml +++ b/roles/pbx/tasks/enable-or-disable.yml @@ -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 ?? #