mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Merge branch 'iiab:master' into fpm-asterisk
This commit is contained in:
commit
5a19618314
1 changed files with 4 additions and 3 deletions
|
@ -239,11 +239,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…
Reference in a new issue