Created
May 5, 2020 12:40
-
-
Save BolaNasr/7b944dfc17d9df407f472e12643f1a91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[supervisord] | |
logfile = /tmp/supervisord.log | |
logfile_maxbytes = 50MB | |
logfile_backups=10 | |
loglevel = info | |
pidfile = /tmp/supervisord.pid | |
nodaemon = false | |
minfds = 1024 | |
minprocs = 200 | |
umask = 022 | |
user = root | |
identifier = supervisor | |
directory = /tmp | |
nocleanup = true | |
childlogdir = /tmp | |
strip_ansi = false | |
[supervisorctl] | |
serverurl=http://127.0.0.1:9001 | |
[inet_http_server] | |
port=127.0.0.1:9001 | |
[rpcinterface:supervisor] | |
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface | |
[program:postgres] | |
command=su postgres -c '/usr/local/bin/postgres -D /var/lib/postgresql/data' | |
autostart=true | |
autorestart=true | |
priority=996 | |
stopsignal=INT | |
stopasgroup=true | |
killasgroup=true | |
stdout_logfile=/var/log/postgres/postgresql.log | |
stderr_logfile=/var/log/postgres/postgresql.stderr.log | |
[program:gitea] | |
command=/bin/bash /opt/bin/gitea_entry.sh | |
autostart=true | |
autorestart=true | |
priority=996 | |
user=root | |
stdout_logfile=/var/log/gitea/stdout.log | |
stderr_logfile=/var/log/gitea/stderr.log | |
[program:cron] | |
command=/usr/sbin/crond -f | |
autostart=true | |
autorestart=true | |
priority=1001 | |
process_name=%(program_name)s_%(process_num)02d | |
stderr_logfile=/var/log/cron/%(program_name)s_stderr.log | |
stderr_logfile_maxbytes=10MB | |
stdout_logfile=/var/log/cron/%(program_name)s_stdout.log | |
stdout_logfile_maxbytes=10MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment