summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLuca Beltrame <lbeltrame@kde.org>2014-09-29 10:43:51 +0200
committerLuca Beltrame <lbeltrame@kde.org>2014-09-29 10:43:51 +0200
commitd95e7065d95adf2001fc1b0a9ecf114a0d2095fa (patch)
treeec7b52499d007b18a447263fbd5e89c6255bb505 /scripts
parent5e48c89c5eee43eee76c6b5c906b720ea986285f (diff)
downloadgitea-d95e7065d95adf2001fc1b0a9ecf114a0d2095fa.tar.gz
gitea-d95e7065d95adf2001fc1b0a9ecf114a0d2095fa.zip
s/USER/GOGS_USER/g
Diffstat (limited to 'scripts')
-rw-r--r--scripts/init/centos/gogs2
1 files changed, 1 insertions, 1 deletions
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}