add supersor sample

This commit is contained in:
skyblue 2014-04-18 21:15:53 +08:00
parent 7d2632784f
commit 96f7af1d70

8
conf/supervisor.ini Normal file
View file

@ -0,0 +1,8 @@
[program:gogs]
user=git
command = /home/git/gogs/start.sh
directory = /home/git/gogs
autostart = true
stdout_logfile = /var/gogs.log
stderr_logfile = /var/gogs-error.log
environment=HOME="/home/git"