aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-04-18 21:15:53 +0800
committerskyblue <ssx205@gmail.com>2014-04-18 21:15:53 +0800
commit96f7af1d70e2af175883f7458d1a9756abc9c2e2 (patch)
treeec057003d243dac0e942a1588747ef76e13837a9 /conf
parent7d2632784f2e657396b3fb23f78bd3288c8d63d6 (diff)
downloadgitea-96f7af1d70e2af175883f7458d1a9756abc9c2e2.tar.gz
gitea-96f7af1d70e2af175883f7458d1a9756abc9c2e2.zip
add supersor sample
Diffstat (limited to 'conf')
-rw-r--r--conf/supervisor.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/supervisor.ini b/conf/supervisor.ini
new file mode 100644
index 0000000000..0acd9ca0b3
--- /dev/null
+++ b/conf/supervisor.ini
@@ -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"