Fix chown usage
This commit is contained in:
@@ -23,7 +23,7 @@ RUN curl -L https://publicsuffix.org/list/public_suffix_list.dat -o /app/code/en
|
||||
|
||||
RUN ln -sf /app/data/index.html /app/code/env/lib/python3.12/site-packages/synapse/static/index.html
|
||||
|
||||
RUN chown -R cloudron.cloudron /app/code
|
||||
RUN chown -R cloudron:cloudron /app/code
|
||||
|
||||
ADD index.html homeserver.yaml.template start.sh /app/pkg/
|
||||
|
||||
|
||||
2
start.sh
2
start.sh
@@ -102,7 +102,7 @@ fi
|
||||
|
||||
# fix permissions
|
||||
echo "==> Fixing permissions"
|
||||
chown -R cloudron.cloudron /app/data /run/synapse
|
||||
chown -R cloudron:cloudron /app/data /run/synapse
|
||||
|
||||
echo "==> Starting synapse"
|
||||
exec gosu cloudron:cloudron python3 -m synapse.app.homeserver --config-path /app/data/configs/homeserver.yaml -n
|
||||
|
||||
Reference in New Issue
Block a user