From: jacksonpan <530933208@qq.com> Date: Mon, 13 Oct 2014 06:32:08 +0000 (+0800) Subject: add auto start script X-Git-Tag: v0.9.99~1705^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9e4c2afad7b4593b388a38996e6fbc071d942e85;p=gitea.git add auto start script how to use: vim /etc/rc.local, then add cd /home/git/gogs; scripts/autoboot.sh (goes path you can replace your path) --- diff --git a/scripts/autoboot.sh b/scripts/autoboot.sh new file mode 100644 index 0000000000..eb16d58170 --- /dev/null +++ b/scripts/autoboot.sh @@ -0,0 +1,2 @@ +#!/bin/sh +su git -c "/home/git/gogs/scripts/gogs_supervisord.sh restart"