diff options
author | Erik Johnston <erik@matrix.org> | 2016-04-18 16:22:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-04-18 16:22:17 +0100 |
commit | 9f56645038fd105a3c9e5720e7bf469dba09afe1 (patch) | |
tree | d578d5e5fcea7b4ea731c0473a5854b064307be4 | |
parent | Merge branch 'release-v0.14.0' of github.com:matrix-org/synapse (diff) | |
parent | Add environment file to systemd unit configuration. (diff) | |
download | synapse-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.service | 1 |
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 |