summary refs log tree commit diff
path: root/contrib/systemd/synapse.service
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-12-07 14:43:41 +0100
committerGitHub <noreply@github.com>2018-12-07 14:43:41 +0100
commit35e13477cfe17dcc2d1974d39cbc9b0e6809c5a0 (patch)
tree2c6b90465006ff6f2e66dc2215e10ae155474c3d /contrib/systemd/synapse.service
parentImplement SAML2 authentication (#4267) (diff)
downloadsynapse-35e13477cfe17dcc2d1974d39cbc9b0e6809c5a0.tar.xz
Update the example systemd config to use a virtualenv (#4273)
If you're installing as a system package, the system package should have set up
the systemd config, so it's more useful to give an example of running in a
virtualenv here.
Diffstat (limited to 'contrib/systemd/synapse.service')
-rw-r--r--contrib/systemd/synapse.service22
1 files changed, 0 insertions, 22 deletions
diff --git a/contrib/systemd/synapse.service b/contrib/systemd/synapse.service
deleted file mode 100644
index b81ce3915d..0000000000
--- a/contrib/systemd/synapse.service
+++ /dev/null
@@ -1,22 +0,0 @@
-# This assumes that Synapse has been installed as a system package
-# (e.g. https://www.archlinux.org/packages/community/any/matrix-synapse/ for ArchLinux)
-# rather than in a user home directory or similar under virtualenv.
-
-# **NOTE:** This is an example service file that may change in the future. If you
-# wish to use this please copy rather than symlink it.
-
-[Unit]
-Description=Synapse Matrix homeserver
-
-[Service]
-Type=simple
-User=synapse
-Group=synapse
-WorkingDirectory=/var/lib/synapse
-ExecStart=/usr/bin/python2.7 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml
-ExecStop=/usr/bin/synctl stop /etc/synapse/homeserver.yaml
-# EnvironmentFile=-/etc/sysconfig/synapse  # Can be used to e.g. set SYNAPSE_CACHE_FACTOR 
-
-[Install]
-WantedBy=multi-user.target
-