summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-04-24 05:21:10 -0400
committerUnknwon <u@gogs.io>2015-04-24 05:21:10 -0400
commitc08baee0855807d24a1b86adfcea86d0731e2a3a (patch)
treec033d0fd4a4c4104b0b6304ec9f2a26c6047ce10 /scripts
parent7a7c096fd09035f759168800402389457648f47e (diff)
parentf92bdf875b4ccb2a8eadaa571d112ebf653986d6 (diff)
downloadgitea-c08baee0855807d24a1b86adfcea86d0731e2a3a.tar.gz
gitea-c08baee0855807d24a1b86adfcea86d0731e2a3a.zip
Merge branch 'develop' of github.com:gogits/gogs into develop
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 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