summary refs log tree commit diff
path: root/debian/matrix-synapse.service
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-12-20 11:33:29 +0000
committerRichard van der Hoff <richard@matrix.org>2018-12-20 11:33:29 +0000
commit1a6d5bfa08b4ba618dcab68e4ed524c4db07da2b (patch)
treec29f79003b2ff7bd8a26d5dcbdf44a1f96a71fed /debian/matrix-synapse.service
parentimport from package-debian-synapse (diff)
downloadsynapse-1a6d5bfa08b4ba618dcab68e4ed524c4db07da2b.tar.xz
Debian packaging via dh_virtualenv (#4285)
Diffstat (limited to 'debian/matrix-synapse.service')
-rw-r--r--debian/matrix-synapse.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/matrix-synapse.service b/debian/matrix-synapse.service
index ab94e073a6..2e9cd83b5f 100644
--- a/debian/matrix-synapse.service
+++ b/debian/matrix-synapse.service
@@ -6,8 +6,8 @@ Type=simple
 User=matrix-synapse
 WorkingDirectory=/var/lib/matrix-synapse
 EnvironmentFile=/etc/default/matrix-synapse
-ExecStartPre=/usr/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/ --generate-keys
-ExecStart=/usr/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/
+ExecStartPre=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/ --generate-keys
+ExecStart=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/
 Restart=always
 RestartSec=3