mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
freepbx.yml: Disable asterisk with systemd (more future-proof than 'update-rc.d -f asterisk remove' ?)
This commit is contained in:
parent
8cb4145b22
commit
eb0b687277
1 changed files with 9 additions and 12 deletions
|
@ -4,20 +4,17 @@
|
|||
# 2012-2017: http://www.raspberry-asterisk.org
|
||||
|
||||
|
||||
# 2021-08-04: systemd service 'asterisk' is Enabled but Not Active at this point -- LET'S EXPERIMENT
|
||||
# - name: FreePBX - Disable & Stop 'asterisk' systemd service
|
||||
# systemd:
|
||||
# daemon_reload: yes
|
||||
# name: asterisk
|
||||
# enabled: no
|
||||
# state: stopped
|
||||
|
||||
# 2021-08-04: systemd service 'asterisk' is Enabled but Not Active at this point.
|
||||
# 2021-08-05: Asterisk's systemd / systemctl support is getting there but Very
|
||||
# Imperfect (even when compiled in, as a result of package 'libsystemd-dev' at
|
||||
# top of asterisk.tml) so let's follow these "official" instructions for now:
|
||||
|
||||
- name: FreePBX - Run 'update-rc.d -f asterisk remove' similar to 'systemctl disable asterisk' giving FreePBX full control during boot - not strictly required but recommended by https://wiki.freepbx.org/display/FOP/Installing+FreePBX+16+on+Debian+10.9
|
||||
command: update-rc.d -f asterisk remove
|
||||
# top of asterisk.tml).
|
||||
# 2021-08-12: Let's track the "official" init.d / update-rc.d instructions...
|
||||
- name: FreePBX - Disable & Stop '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
|
||||
enabled: no
|
||||
state: stopped
|
||||
|
||||
|
||||
- name: FreePBX - Install wget, git, unixodbc, sudo, net-tools, cron, sox + ~12 PHP dependencies (run 'php -m' or 'php -i' to verify PHP modules)
|
||||
|
|
Loading…
Reference in a new issue