Skip to content

Commit 75c0200

Browse files
authored
Fix queue manager permission at startup (#307)
Launching reload with "-" simulate login so the environment isn't passed to the fwconsole reload. The subscription variables are in the environment and if they aren't seen by fwconsole qmanager assume the server isn't registered and disable qmanager NethServer/dev#7041
1 parent 00f7227 commit 75c0200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

freepbx/freepbx_init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ php -r 'include_once "/etc/freepbx_db.conf"; $db->query("UPDATE freepbx_settings
103103
fwconsole userman --syncall --force --verbose
104104

105105
# Always apply changes on start
106-
su - asterisk -s /bin/sh -c "/var/lib/asterisk/bin/fwconsole reload"
106+
su asterisk -s /bin/sh -c "/var/lib/asterisk/bin/fwconsole reload"

0 commit comments

Comments
 (0)