1
0
Fork 0
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:
A Holt 2021-08-10 18:26:39 -04:00 committed by GitHub
commit 5a19618314
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -239,11 +239,12 @@
# For 'pbx_try_nginx: True' -- FreePBX's initial page (Admin user registration)
# tries to set up a cron job but fails:
# "Exception: Trying to edit user asterisk, when I'm running as www-data"
# #2916 DETAILS: https://github.com/iiab/iiab/pull/2916#issuecomment-894585322
# FWIW hacking /etc/freepbx.conf (lineinfile or manually) did not solve it...
# 2021-08-10: Hacking /etc/freepbx.conf WAS NOT TESTED PROPERLY -- AS VARS MUST
# 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 ?'"
# lineinfile:
# 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';"
# when: pbx_try_nginx