Skip to content

Instantly share code, notes, and snippets.

@pappu687
Created December 8, 2016 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pappu687/8a1752c1edc35545c4528b7cade43de3 to your computer and use it in GitHub Desktop.
Save pappu687/8a1752c1edc35545c4528b7cade43de3 to your computer and use it in GitHub Desktop.
Supervisor Conf for Gogs (gogs Version: 0.9.99)
[program:gogs]
directory = /home/gogs/gogs-repositories
command=/usr/bin/gogs run 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/gogs", USER="gogs"
user = gogs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment