mirror of
https://mau.dev/maunium/synapse.git
synced 2025-01-03 10:04:59 +01:00
Merge pull request #728 from OlegGirko/systemd_env_file
Add environment file to systemd unit configuration.
This commit is contained in:
commit
9f56645038
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ Description=Synapse Matrix homeserver
|
||||||
Type=simple
|
Type=simple
|
||||||
User=synapse
|
User=synapse
|
||||||
Group=synapse
|
Group=synapse
|
||||||
|
EnvironmentFile=-/etc/sysconfig/synapse
|
||||||
WorkingDirectory=/var/lib/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
|
ExecStart=/usr/bin/python2.7 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml --log-config=/etc/synapse/log_config.yaml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue