From b78d3f5865609bab96ab68a020123ad55db315a5 Mon Sep 17 00:00:00 2001 From: Avelino Date: Fri, 2 Dec 2016 03:18:58 -0200 Subject: [PATCH 1/3] 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 77c720271f..2f8c6da869 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 7f7d675aa1..56ecc94dec 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 6181ea15cd..43ec612b07 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 48ef7322f3..758f1590f1 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 09302cc01d..0a7eef9b53 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 From 79bd7648b06f52f4e8c5171cd54ed070a2a26186 Mon Sep 17 00:00:00 2001 From: Avelino Date: Fri, 2 Dec 2016 03:51:34 -0200 Subject: [PATCH 2/3] fixed typo on rename project name scripts for windows (bat) --- scripts/windows/install-as-service.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/windows/install-as-service.bat b/scripts/windows/install-as-service.bat index 0a7eef9b53..4a513b7dcb 100644 --- a/scripts/windows/install-as-service.bat +++ b/scripts/windows/install-as-service.bat @@ -6,7 +6,7 @@ :: 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 Gitea work running manually with "gogs web" before running +:: Make sure Gitea work running manually with "gitea web" before running :: this script. :: And, please, read carefully the installation docs first: :: https://gogs.io/docs/installation From b21bf80dd4ddef61b2a3f1e192c1c64288b3cffa Mon Sep 17 00:00:00 2001 From: Avelino Date: Fri, 2 Dec 2016 15:52:28 -0200 Subject: [PATCH 3/3] update SERVICENAME on init scripts --- scripts/init/centos/gitea | 2 +- scripts/init/suse/gitea | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/init/centos/gitea b/scripts/init/centos/gitea index 2f8c6da869..c24fc1f01e 100644 --- a/scripts/init/centos/gitea +++ b/scripts/init/centos/gitea @@ -27,7 +27,7 @@ NAME=gitea GITEA_HOME=/home/git/gitea GITEA_PATH=${GITEA_HOME}/$NAME GITEA_USER=git -SERVICENAME="Gitea Git with a cup of tea" +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 56ecc94dec..77fb6689cf 100644 --- a/scripts/init/suse/gitea +++ b/scripts/init/suse/gitea @@ -21,7 +21,7 @@ NAME=gitea GITEA_HOME=/home/git/gitea GITEA_PATH=${GITEA_HOME}/$NAME GITEA_USER=git -SERVICENAME="Git with a cup of tea" +SERVICENAME="Git - with a cup of tea" LOCKFILE=/var/lock/subsys/gitea LOGPATH=${GITEA_HOME}/log LOGFILE=${LOGPATH}/error.log