|
@@ -57,7 +57,7 @@ case "$1" in
|
57
|
57
|
db_stop
|
58
|
58
|
|
59
|
59
|
if [ -f "$PROSODY_HOST_CONFIG" ] ; then
|
60
|
|
- if grep -q "--plugin_paths" "$PROSODY_HOST_CONFIG"; then
|
|
60
|
+ if grep -q "plugin_paths" "$PROSODY_HOST_CONFIG"; then
|
61
|
61
|
# enable tokens in prosody host config
|
62
|
62
|
sed -i "s/--plugin_paths/plugin_paths/g" $PROSODY_HOST_CONFIG
|
63
|
63
|
sed -i 's/authentication = "anonymous"/authentication = "token"/g' $PROSODY_HOST_CONFIG
|