summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-18 16:22:17 +0100
committerErik Johnston <erik@matrix.org>2016-04-18 16:22:17 +0100
commit9f56645038fd105a3c9e5720e7bf469dba09afe1 (patch)
treed578d5e5fcea7b4ea731c0473a5854b064307be4
parentMerge branch 'release-v0.14.0' of github.com:matrix-org/synapse (diff)
parentAdd environment file to systemd unit configuration. (diff)
downloadsynapse-9f56645038fd105a3c9e5720e7bf469dba09afe1.tar.xz
Merge pull request #728 from OlegGirko/systemd_env_file
Add environment file to systemd unit configuration.
-rw-r--r--contrib/systemd/synapse.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/systemd/synapse.service b/contrib/systemd/synapse.service
index 2e8cd21c9e..967a4debfd 100644
--- a/contrib/systemd/synapse.service
+++ b/contrib/systemd/synapse.service
@@ -9,6 +9,7 @@ Description=Synapse Matrix homeserver
 Type=simple
 User=synapse
 Group=synapse
+EnvironmentFile=-/etc/sysconfig/synapse
 WorkingDirectory=/var/lib/synapse
 ExecStart=/usr/bin/python2.7 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml --log-config=/etc/synapse/log_config.yaml