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).
This commit is contained in:
parent
953c185693
commit
2b166baf7c
5 changed files with 49 additions and 25 deletions
10
alpine-matrix/systemd/matrix-appservice-irc.service
Normal file
10
alpine-matrix/systemd/matrix-appservice-irc.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Matrix IRC gateway
|
||||
After=matrix.service
|
||||
Requires=matrix.service
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
ExecStart=/usr/local/bin/matrix-appservice-irc -c /etc/matrix/irc-config.yaml -f /etc/matrix/irc-registration.yaml -p 7881
|
||||
StateDirectory=matrix-appservice-irc
|
||||
ConfigurationDirectory=matrix
|
17
alpine-matrix/systemd/matrix.service
Normal file
17
alpine-matrix/systemd/matrix.service
Normal file
|
@ -0,0 +1,17 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue