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

Stop asterisk before installing freepbx

This commit is contained in:
Jerry Vonau 2023-04-02 04:31:44 -05:00
parent e0a7344776
commit 32c81bbb70

View file

@ -11,11 +11,15 @@
# 2021-08-12: Let's try to track the "official" init.d / update-rc.d
# instructions ('update-rc.d -f asterisk remove') but using systemd instead,
# to be more future-proof?
# 2023-04-02 The above is not true, the service is running from the asterisk install causing
# './start_asterisk start' to do nothing as the service is alredy running resulting in the
# need to use 'ignore' for 'killall -9 safe_asterisk' or './start_asterisk stop'
# Lets get rid of the red warning.
- name: "FreePBX - Disable 'asterisk' systemd service, giving FreePBX full control during boot - similar to officially recommended 'update-rc.d -f asterisk remove' at: https://wiki.freepbx.org/display/FOP/Installing+FreePBX+16+on+Debian+10.9"
systemd:
daemon_reload: yes
name: asterisk
#state: stopped
state: stopped
enabled: no