From 96f7af1d70e2af175883f7458d1a9756abc9c2e2 Mon Sep 17 00:00:00 2001 From: skyblue Date: Fri, 18 Apr 2014 21:15:53 +0800 Subject: [PATCH] add supersor sample --- conf/supervisor.ini | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 conf/supervisor.ini diff --git a/conf/supervisor.ini b/conf/supervisor.ini new file mode 100644 index 000000000..0acd9ca0b --- /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"