Add mautrix-syncproxy and mautrix-wsproxy
This commit is contained in:
parent
eaba9effe3
commit
51bcd703d6
18 changed files with 185 additions and 5 deletions
0
ressources/mautrix-wsproxy/rootfs/DEBIAN/changelog
Normal file
0
ressources/mautrix-wsproxy/rootfs/DEBIAN/changelog
Normal file
1
ressources/mautrix-wsproxy/rootfs/DEBIAN/conffiles
Normal file
1
ressources/mautrix-wsproxy/rootfs/DEBIAN/conffiles
Normal file
|
@ -0,0 +1 @@
|
|||
/etc/mautrix-wsproxy.yaml
|
7
ressources/mautrix-wsproxy/rootfs/DEBIAN/control
Normal file
7
ressources/mautrix-wsproxy/rootfs/DEBIAN/control
Normal file
|
@ -0,0 +1,7 @@
|
|||
Package: mautrix-wsproxy
|
||||
Version: %VERSION%
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Maintainer: Thomas Legay <thomas@syngate.fr>
|
||||
Description: mautrix-wsproxy
|
4
ressources/mautrix-wsproxy/rootfs/DEBIAN/postinst
Executable file
4
ressources/mautrix-wsproxy/rootfs/DEBIAN/postinst
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
id mautrix-wsproxy &> /dev/null || useradd mautrix-wsproxy -r -s /bin/false -d /
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=wsproxy
|
||||
Documentation=https://github.com/mautrix/wsproxy
|
||||
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=mautrix-wsproxy
|
||||
Group=mautrix-wsproxy
|
||||
ExecStart=/usr/bin/mautrix-wsproxy --config /etc/mautrix-wsproxy.yaml
|
||||
WorkingDirectory=/tmp
|
||||
Restart=on-failure
|
||||
RestartSec=60
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue