Merge pull request #728 from OlegGirko/systemd_env_file

Add environment file to systemd unit configuration.
This commit is contained in:
Erik Johnston 2016-04-18 16:22:17 +01:00
commit 9f56645038
1 changed files with 1 additions and 0 deletions

View File

@ -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