Browse Source

s/USER/GOGS_USER/g

tags/v1.2.0-rc1
Luca Beltrame 11 years ago
parent
commit
d95e7065d9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      scripts/init/centos/gogs

+ 1
- 1
scripts/init/centos/gogs 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}


Loading…
Cancel
Save