1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00

fix typo in centos init script

We should be *sourcing* `/etc/sysconfig/gogs`, not *executing* it, don't we?
This commit is contained in:
Robert Rauch 2015-04-01 00:45:00 +02:00
parent d76f11c6f1
commit 7e5063a93d

View file

@ -33,7 +33,7 @@ LOGFILE=${GOGS_HOME}/log/gogs.log
RETVAL=0 RETVAL=0
# Read configuration from /etc/sysconfig/gogs to override defaults # 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 # Don't do anything if nothing is installed
[ -x ${GOGS_PATH} ] || exit 0 [ -x ${GOGS_PATH} ] || exit 0