diff --git a/rootfs/etc/services.d/synapse/run b/rootfs/etc/services.d/synapse/run index 8274cb9..9fef79c 100644 --- a/rootfs/etc/services.d/synapse/run +++ b/rootfs/etc/services.d/synapse/run @@ -1,5 +1,4 @@ #!/usr/bin/with-contenv sh cd /var/lib/synapse -source /var/lib/synapse/bin/activate -s6-setuidgid synapse python -B -m synapse.app.homeserver -c server.yaml +s6-setuidgid synapse /var/lib/synapse/bin/python -B -m synapse.app.homeserver -c server.yaml diff --git a/rootfs/var/lib/synapse/log.config b/rootfs/var/lib/synapse/log.config index 774ba03..1890018 100644 --- a/rootfs/var/lib/synapse/log.config +++ b/rootfs/var/lib/synapse/log.config @@ -13,7 +13,7 @@ handlers: file: class: logging.handlers.RotatingFileHandler formatter: precise - filename: /homeserver.log + filename: /var/lib/synapse/homeserver.log maxBytes: 104857600 backupCount: 10 filters: [context]