Matrix synapse service alpine linux rootfs
This commit is contained in:
parent
2b9e803d14
commit
953c185693
3 changed files with 74 additions and 0 deletions
15
alpine-matrix/synapse.service
Normal file
15
alpine-matrix/synapse.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Synapse Matrix homeserver
|
||||
After=network-online.target
|
||||
Requires=network-online.target
|
||||
|
||||
[Service]
|
||||
Environment=LANG=en_US.UTF-8
|
||||
Environment=SYNAPSE_LOG_LEVEL=DEBUG
|
||||
Environment=PYTHONDONTWRITEBYTECODE=1
|
||||
|
||||
ExecStart=/usr/bin/python3 -m synapse.app.homeserver -c /etc/synapse/homeserver.yaml
|
||||
ExecStop=/usr/bin/synctl stop /etc/synapse/homeserver.yaml
|
||||
|
||||
StateDirectory=synapse
|
||||
ConfigurationDirectory=synapse
|
Loading…
Add table
Add a link
Reference in a new issue