index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
scripts
/
init
/
centos
/
gogs
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Lunny Xiao <xiaolunwen@gmail.com>
2015-04-24 15:03:21 +0800
committer
Lunny Xiao <xiaolunwen@gmail.com>
2015-04-24 15:03:21 +0800
commit
673a76d638139ad3d5df1ba4314edfb1df2afc5c
(
patch
)
tree
3677ac48d117e59fa4be4db5cef6dc69c1fcf053
/
scripts/init/centos/gogs
parent
2c4fb6e6469f756dfaeb276302bac87e4dac3e1e
(
diff
)
parent
5a4f314cf7465425bb2802bf9d2995c258af6697
(
diff
)
Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
Hotfix/type fix validate password
Diffstat
(limited to 'scripts/init/centos/gogs')
-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 1a92ff20..5ff6de53 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