From: Luca Beltrame Date: Mon, 29 Sep 2014 08:43:51 +0000 (+0200) Subject: s/USER/GOGS_USER/g X-Git-Tag: v0.9.99~1749^2^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d95e7065d95adf2001fc1b0a9ecf114a0d2095fa;p=gitea.git s/USER/GOGS_USER/g --- diff --git a/scripts/init/centos/gogs b/scripts/init/centos/gogs index 41c56d7554..90469498be 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}