From d95e7065d95adf2001fc1b0a9ecf114a0d2095fa Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Mon, 29 Sep 2014 10:43:51 +0200 Subject: [PATCH] s/USER/GOGS_USER/g --- scripts/init/centos/gogs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init/centos/gogs b/scripts/init/centos/gogs index 41c56d755..90469498b 100644 --- a/scripts/init/centos/gogs +++ b/scripts/init/centos/gogs @@ -42,7 +42,7 @@ RETVAL=0 DAEMON_OPTS="" # Set additional options, if any -[ ! -z "$GOGS_USER" ] && DAEMON_OPTS="$DAEMON_OPTS --user=${USER}" +[ ! -z "$GOGS_USER" ] && DAEMON_OPTS="$DAEMON_OPTS --user=${GOGS_USER}" start() { cd ${GOGS_HOME}