mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
freepbx.yml: Add vars near BOTTOM NOT TOP of /etc/freepbx.conf
This commit is contained in:
parent
cfde23d795
commit
50b822b095
1 changed files with 4 additions and 3 deletions
|
@ -238,11 +238,12 @@
|
||||||
# For 'pbx_try_nginx: True' -- FreePBX's initial page (Admin user registration)
|
# For 'pbx_try_nginx: True' -- FreePBX's initial page (Admin user registration)
|
||||||
# tries to set up a cron job but fails:
|
# tries to set up a cron job but fails:
|
||||||
# "Exception: Trying to edit user asterisk, when I'm running as www-data"
|
# "Exception: Trying to edit user asterisk, when I'm running as www-data"
|
||||||
# #2916 DETAILS: https://github.com/iiab/iiab/pull/2916#issuecomment-894585322
|
# 2021-08-10: Hacking /etc/freepbx.conf WAS NOT TESTED PROPERLY -- AS VARS MUST
|
||||||
# FWIW hacking /etc/freepbx.conf (lineinfile or manually) did not solve it...
|
# BE NEAR BOTTOM OF FILE: github.com/iiab/iiab/pull/2916#issuecomment-894585322
|
||||||
# - name: "2021-08-06: Try \"$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';\" in /etc/freepbx.conf for #2916 registration cron fix ?'"
|
# - name: "2021-08-06: Try \"$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';\" in /etc/freepbx.conf for #2916 registration cron fix ?'"
|
||||||
# lineinfile:
|
# lineinfile:
|
||||||
# path: /etc/freepbx.conf
|
# path: /etc/freepbx.conf
|
||||||
# insertafter: '^<\?php$' # Match exact line '<?php'
|
# #insertafter: '^<\?php$' # Match exact line '<?php' -- BUT TOP OF FILE FAILS :(
|
||||||
|
# insertbefore: '^\?>$' # Match exact line '?>' -- BOTTOM OF FILE NECESSARY :)
|
||||||
# line: "$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';"
|
# line: "$amp_conf['AMPASTERISKWEBUSER'] = 'www-data';"
|
||||||
# when: pbx_try_nginx
|
# when: pbx_try_nginx
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue