diff options
author | Robert Rauch <rauchrob@users.noreply.github.com> | 2015-04-01 00:45:00 +0200 |
---|---|---|
committer | Robert Rauch <rauchrob@users.noreply.github.com> | 2015-04-01 00:45:00 +0200 |
commit | 7e5063a93d15945150339c30beb6d09ba7b42939 (patch) | |
tree | fc0c565575b9ac15b22d31f1936bb56971e83eab /scripts | |
parent | d76f11c6f14b69bf981e5fc3901cc2c6445773b8 (diff) | |
download | gitea-7e5063a93d15945150339c30beb6d09ba7b42939.tar.gz gitea-7e5063a93d15945150339c30beb6d09ba7b42939.zip |
fix typo in centos init script
We should be *sourcing* `/etc/sysconfig/gogs`, not *executing* it, don't we?
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/init/centos/gogs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/init/centos/gogs b/scripts/init/centos/gogs index 1a92ff2070..5ff6de537f 100644 --- a/scripts/init/centos/gogs +++ b/scripts/init/centos/gogs @@ -33,7 +33,7 @@ LOGFILE=${GOGS_HOME}/log/gogs.log RETVAL=0 # Read configuration from /etc/sysconfig/gogs to override defaults -[ -r /etc/sysconfig/$NAME ] && ./etc/sysconfig/$NAME +[ -r /etc/sysconfig/$NAME ] && . /etc/sysconfig/$NAME # Don't do anything if nothing is installed [ -x ${GOGS_PATH} ] || exit 0 |