s/USER/GOGS_USER/g

This commit is contained in:
Luca Beltrame 2014-09-29 10:43:51 +02:00
parent 5e48c89c5e
commit d95e7065d9

View File

@ -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}