MAS implementation

This commit is contained in:
Vladimir D
2025-04-25 14:25:20 +04:00
parent 6cfdea8b6d
commit b72a23cf0d
5 changed files with 163 additions and 19 deletions

View File

@@ -0,0 +1,11 @@
[program:homeserver]
priority=10
user=cloudron
directory=/app/code
command=bash -c "source /app/code/env/bin/activate && python3 -m synapse.app.homeserver --config-path /app/data/configs/homeserver.yaml -n"
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

11
supervisor/mas.conf Normal file
View File

@@ -0,0 +1,11 @@
[program:mas]
priority=12
directory=/app/code/mas
user=cloudron
command=mas-cli -c /run/synapse/mas-config.yaml server
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0