portable-services/alpine-matrix/systemd/matrix.service
Vladan Popovic 2b166baf7c Add matrix-appservice-irc and fix installation
Allow memory write and execution (ctypes).
Add IRC gateway unit files and rename the units to be recognised by
portabled.
Fix installation of matrix-appservice-irc (don't ask).
2019-02-06 18:03:06 +01:00

17 lines
451 B
Desktop File

[Unit]
Description=Synapse - Matrix homeserver
After=network-online.target
Requires=network-online.target
[Service]
MemoryDenyWriteExecute=no
Environment=LANG=en_US.UTF-8
Environment=SYNAPSE_LOG_LEVEL=DEBUG
Environment=PYTHONDONTWRITEBYTECODE=1
ExecStart=/usr/bin/python3 -m synapse.app.homeserver -c /etc/matrix/homeserver.yaml
ExecStop=/usr/bin/synctl stop /etc/matrix/homeserver.yaml
StateDirectory=matrix-synapse
ConfigurationDirectory=matrix