mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-04 09:50:08 +00:00
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/5e1df9cc-b63e-4a5a-9148-38907b6d8db9 Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
40 lines
948 B
Plaintext
40 lines
948 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisord/supervisord.log
|
|
pidfile=/var/run/supervisord/supervisord.pid
|
|
childlogdir=/var/log/supervisord/
|
|
logfile_maxbytes=50MB
|
|
logfile_backups=10
|
|
loglevel=error
|
|
|
|
[unix_http_server]
|
|
file=/var/run/supervisord/supervisor.sock
|
|
chmod=0700
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///var/run/supervisord/supervisor.sock
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[program:postgresql]
|
|
command=postgres -D /var/lib/postgresql/data -k /var/run/postgresql
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
# Start first: Windmill depends on PostgreSQL being ready
|
|
priority=10
|
|
autorestart=true
|
|
startsecs=5
|
|
|
|
[program:windmill]
|
|
command=/windmill-start.sh
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
priority=20
|
|
autorestart=true
|
|
startsecs=10
|