diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-07 12:54:17 +0100 |
---|---|---|
committer | Sandro Santilli <strk@kbt.io> | 2016-11-07 16:06:21 +0100 |
commit | 145ab5c89a626f9ef0c289bdf6b83826339e482a (patch) | |
tree | 335300e1c54b0b0c98a6893a3ca7d1fd129b9a04 /scripts/init/centos | |
parent | b7263f31a5a0a4a0ac8fe92c83563d7b7dcf7423 (diff) | |
download | gitea-145ab5c89a626f9ef0c289bdf6b83826339e482a.tar.gz gitea-145ab5c89a626f9ef0c289bdf6b83826339e482a.zip |
Rename and update init files to use "gitea" instead of "gogs"
Closes #102
Diffstat (limited to 'scripts/init/centos')
-rw-r--r-- | scripts/init/centos/gitea (renamed from scripts/init/centos/gogs) | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/init/centos/gogs b/scripts/init/centos/gitea index 1a9fc27728..77c720271f 100644 --- a/scripts/init/centos/gogs +++ b/scripts/init/centos/gitea @@ -1,6 +1,6 @@ #!/bin/sh # -# /etc/rc.d/init.d/gogs +# /etc/rc.d/init.d/gitea # # Runs the Gogs Go Git Service. # @@ -9,13 +9,13 @@ # ### BEGIN INIT INFO -# Provides: gogs +# Provides: gitea # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: Start gogs at boot time. -# Description: Control gogs. +# Short-Description: Start gitea at boot time. +# Description: Control gitea. ### END INIT INFO # Source function library. @@ -23,17 +23,17 @@ # Default values -NAME=gogs -GITEA_HOME=/home/git/gogs +NAME=gitea +GITEA_HOME=/home/git/gitea GITEA_PATH=${GITEA_HOME}/$NAME GITEA_USER=git SERVICENAME="Gogs Go Git Service" -LOCKFILE=/var/lock/subsys/gogs +LOCKFILE=/var/lock/subsys/gitea LOGPATH=${GITEA_HOME}/log -LOGFILE=${LOGPATH}/gogs.log +LOGFILE=${LOGPATH}/gitea.log RETVAL=0 -# Read configuration from /etc/sysconfig/gogs to override defaults +# Read configuration from /etc/sysconfig/gitea to override defaults [ -r /etc/sysconfig/$NAME ] && . /etc/sysconfig/$NAME # Don't do anything if nothing is installed |