From 6435bb9be19ac087bb54dd8ac0dfedc80b8054c1 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 15 Mar 2019 17:24:56 +0800 Subject: [PATCH] Update gogs.tpl --- plugins/gogs/init.d/gogs.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/gogs/init.d/gogs.tpl b/plugins/gogs/init.d/gogs.tpl index 3ac63e61e..0d4ff84b3 100644 --- a/plugins/gogs/init.d/gogs.tpl +++ b/plugins/gogs/init.d/gogs.tpl @@ -31,6 +31,7 @@ fi # Default values export HOME={$HOME_DIR} +export USER={$RUN_USER} NAME=gogs GOGS_HOME={$SERVER_PATH}/gogs GOGS_PATH=${GOGS_HOME}/$NAME