mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-22 20:42:47 +08:00
Merge pull request #1177 from rauchrob/patch-1
fix typo in centos init script
This commit is contained in:
commit
639e34e362
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user