Created
June 3, 2016 12:53
-
-
Save 4lun/0b2e1b1fe02cf8505128022cfce06cb5 to your computer and use it in GitHub Desktop.
Supervisor configuration for gogs (/etc/supervisor/conf.d/gogs.conf)
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
[program:gogs] | |
directory=/home/git/go/src/github.com/gogits/gogs/ | |
command=/home/git/go/src/github.com/gogits/gogs/gogs web | |
autostart=true | |
autorestart=true | |
startsecs=10 | |
stdout_logfile=/var/log/gogs/stdout.log | |
stdout_logfile_maxbytes=1MB | |
stdout_logfile_backups=10 | |
stdout_capture_maxbytes=1MB | |
stderr_logfile=/var/log/gogs/stderr.log | |
stderr_logfile_maxbytes=1MB | |
stderr_logfile_backups=10 | |
stderr_capture_maxbytes=1MB | |
environment = HOME="/home/git", USER="git" | |
user = git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment