From 6f8caa708165076e083c3042a6c80eca51fd6c8b Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 15 Mar 2019 17:15:06 +0800 Subject: [PATCH] Update gogs.tpl --- plugins/gogs/init.d/gogs.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gogs/init.d/gogs.tpl b/plugins/gogs/init.d/gogs.tpl index f457b16a5..3ac63e61e 100644 --- a/plugins/gogs/init.d/gogs.tpl +++ b/plugins/gogs/init.d/gogs.tpl @@ -30,7 +30,7 @@ if [ -f /etc/rc.d/init.d/functions ];then fi # Default values -HOME={$HOME_DIR} +export HOME={$HOME_DIR} NAME=gogs GOGS_HOME={$SERVER_PATH}/gogs GOGS_PATH=${GOGS_HOME}/$NAME