mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
freepbx.yml: Force 'killall -9 safe_asterisk' for RPi 4 (Ubuntu Server 21.04)
This commit is contained in:
parent
7ccecbdaf1
commit
151b8c3215
1 changed files with 15 additions and 16 deletions
|
@ -134,22 +134,21 @@
|
||||||
- ./start_asterisk start
|
- ./start_asterisk start
|
||||||
- ./install -n --webroot {{ freepbx_install_dir }} --dbuser {{ asterisk_db_user }} --dbpass {{ asterisk_db_password }} --dbname {{ asterisk_db_dbname }} --cdrdbname {{ asterisk_db_cdrdbname }}
|
- ./install -n --webroot {{ freepbx_install_dir }} --dbuser {{ asterisk_db_user }} --dbpass {{ asterisk_db_password }} --dbname {{ asterisk_db_dbname }} --cdrdbname {{ asterisk_db_cdrdbname }}
|
||||||
|
|
||||||
- name: "Run 'fwconsole stop' to stop both Asterisk processes -- this avoids \"Unable to run Pre-Asterisk hooks, because Asterisk is already running\" in 'journalctl -u freepbx' logs"
|
- name: "Run 'fwconsole stop' and 'killall -9 safe_asterisk' to stop both Asterisk processes -- this avoids \"Unable to run Pre-Asterisk hooks, because Asterisk is already running\" in 'journalctl -u freepbx' logs"
|
||||||
command: fwconsole stop
|
command:
|
||||||
# command: "{{ item }}"
|
with_items:
|
||||||
# with_items:
|
- fwconsole stop
|
||||||
# # - ./start_asterisk stop
|
- killall -9 safe_asterisk # 2021-08-08: Stronger medicine needed for 64-bit Ubuntu Server 21.04 on RPi 4. Originally from @jvonau's PR #2912.
|
||||||
# # - killall -9 safe_asterisk # 2021-08-05: These 2 lines from PR #2912 brute force a workaround for #2908 #2913 #2915
|
# - killall -9 asterisk # 2021-08-05: Also from @jvonau's PR #2912, to brute force this. In the end, above 'fwconsole stop' works more gracefully.
|
||||||
# # - killall -9 asterisk # glitches on 1st install. In the end, above 'fwconsole stop' does the job more gracefully.
|
# - ./start_asterisk stop # Buggy!
|
||||||
# # - /usr/sbin/asterisk -rx "core stop gracefully"
|
# - /usr/sbin/asterisk -rx "core stop gracefully"
|
||||||
# # - fwconsole reload
|
# - fwconsole reload
|
||||||
# - fwconsole stop
|
# - fwconsole restart
|
||||||
# # - fwconsole restart
|
# - fwconsole ma disablerepo commercial
|
||||||
# # - fwconsole ma disablerepo commercial
|
# - fwconsole ma installall
|
||||||
# # - fwconsole ma installall
|
# - fwconsole ma delete firewall
|
||||||
# # - fwconsole ma delete firewall
|
# - fwconsole reload
|
||||||
# # - fwconsole reload
|
# - fwconsole restart
|
||||||
# # - fwconsole restart
|
|
||||||
|
|
||||||
# 2021-08-06: This stanza might be removed in future, if Asterix/FreePBX fix
|
# 2021-08-06: This stanza might be removed in future, if Asterix/FreePBX fix
|
||||||
# this install glitch in a future release? FYI #2908, #2912, #2913 attempts
|
# this install glitch in a future release? FYI #2908, #2912, #2913 attempts
|
||||||
|
|
Loading…
Reference in a new issue