diff --git a/dockerfiles/synapse/start.sh b/dockerfiles/synapse/start.sh index a198da9c..eca41cd2 100755 --- a/dockerfiles/synapse/start.sh +++ b/dockerfiles/synapse/start.sh @@ -5,14 +5,14 @@ set -e sed -i "s/SERVER_NAME/${SERVER_NAME}/g" /conf/homeserver.yaml # Add the application service registration files to the homeserver.yaml config -for filename in /appservices/*.yaml; do +for filename in /complement/appservice/*.yaml; do [ -f "$filename" ] || break as_id=$(basename "$filename" .yaml) # Insert the path to the registration file and the AS_REGISTRATION_FILES marker after # so we can add the next application service in the next iteration of this for loop - sed -i "s/AS_REGISTRATION_FILES/ - \/appservices\/${as_id}.yaml\nAS_REGISTRATION_FILES/g" /conf/homeserver.yaml + sed -i "s/AS_REGISTRATION_FILES/ - \/complement\/appservice\/${as_id}.yaml\nAS_REGISTRATION_FILES/g" /conf/homeserver.yaml done # Remove the AS_REGISTRATION_FILES entry sed -i "s/AS_REGISTRATION_FILES//g" /conf/homeserver.yaml