From b78d3f5865609bab96ab68a020123ad55db315a5 Mon Sep 17 00:00:00 2001 From: Avelino Date: Fri, 2 Dec 2016 03:18:58 -0200 Subject: [PATCH] Fixed project name on scripts --- scripts/init/centos/gitea | 8 ++++---- scripts/init/suse/gitea | 4 ++-- scripts/launchd/io.gitea.web.plist | 8 ++++---- scripts/systemd/gitea.service | 2 +- scripts/windows/install-as-service.bat | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/scripts/init/centos/gitea b/scripts/init/centos/gitea index 77c720271..2f8c6da86 100644 --- a/scripts/init/centos/gitea +++ b/scripts/init/centos/gitea @@ -2,10 +2,10 @@ # # /etc/rc.d/init.d/gitea # -# Runs the Gogs Go Git Service. -# +# Runs the Gitea Git with a cup of tea. # -# chkconfig: - 85 15 +# +# chkconfig: - 85 15 # ### BEGIN INIT INFO @@ -27,7 +27,7 @@ NAME=gitea GITEA_HOME=/home/git/gitea GITEA_PATH=${GITEA_HOME}/$NAME GITEA_USER=git -SERVICENAME="Gogs Go Git Service" +SERVICENAME="Gitea Git with a cup of tea" LOCKFILE=/var/lock/subsys/gitea LOGPATH=${GITEA_HOME}/log LOGFILE=${LOGPATH}/gitea.log diff --git a/scripts/init/suse/gitea b/scripts/init/suse/gitea index 7f7d675aa..56ecc94de 100644 --- a/scripts/init/suse/gitea +++ b/scripts/init/suse/gitea @@ -2,7 +2,7 @@ # # /etc/init.d/gitea # -# Runs the Gogs Go Git Service. +# Runs the Gitea Git with a cup of tea. # ### BEGIN INIT INFO @@ -21,7 +21,7 @@ NAME=gitea GITEA_HOME=/home/git/gitea GITEA_PATH=${GITEA_HOME}/$NAME GITEA_USER=git -SERVICENAME="Go Git Service" +SERVICENAME="Git with a cup of tea" LOCKFILE=/var/lock/subsys/gitea LOGPATH=${GITEA_HOME}/log LOGFILE=${LOGPATH}/error.log diff --git a/scripts/launchd/io.gitea.web.plist b/scripts/launchd/io.gitea.web.plist index 6181ea15c..43ec612b0 100644 --- a/scripts/launchd/io.gitea.web.plist +++ b/scripts/launchd/io.gitea.web.plist @@ -4,7 +4,7 @@ Label io.gitea.web - + UserName git @@ -12,7 +12,7 @@ git ProgramArguments - + /Users/git/gitea/gitea web @@ -21,7 +21,7 @@ KeepAlive - + WorkingDirectory /Users/git/gitea/ @@ -29,7 +29,7 @@ /Users/git/gitea/log/stdout.log StandardErrorPath /Users/git/gitea/log/stderr.log - + SoftResourceLimits NumberOfFiles diff --git a/scripts/systemd/gitea.service b/scripts/systemd/gitea.service index 48ef7322f..758f1590f 100644 --- a/scripts/systemd/gitea.service +++ b/scripts/systemd/gitea.service @@ -1,5 +1,5 @@ [Unit] -Description=Gogs (Go Git Service) +Description=Gitea (Git with a cup of tea) After=syslog.target After=network.target #After=mysqld.service diff --git a/scripts/windows/install-as-service.bat b/scripts/windows/install-as-service.bat index 09302cc01..0a7eef9b5 100644 --- a/scripts/windows/install-as-service.bat +++ b/scripts/windows/install-as-service.bat @@ -6,19 +6,19 @@ :: https://nssm.cc/download :: This script itself should run in the gogs path, too. :: In case of startup failure, please read carefully the log file. -:: Make sure Gogs work running manually with "gogs web" before running +:: Make sure Gitea work running manually with "gogs web" before running :: this script. :: And, please, read carefully the installation docs first: :: https://gogs.io/docs/installation :: To unistall the service, run "nssm remove gogs" and restart Windows. -:: Set the folder where you extracted Gogs. Omit the last slash. +:: Set the folder where you extracted Gitea. Omit the last slash. SET gogspath=C:\gogs nssm install gogs "%gogspath%\gogs.exe" nssm set gogs AppParameters "web" nssm set gogs Description "A painless self-hosted Git service." -nssm set gogs DisplayName "Gogs - Go Git Service" +nssm set gogs DisplayName "Gitea - Git with a cup of tea" nssm set gogs Start SERVICE_DELAYED_AUTO_START nssm set gogs AppStdout "%gogspath%\gogs.log" nssm start gogs