Merge pull request #334 from avelino/scripts_project_name_update

Fixed project name on scripts
This commit is contained in:
Thomas Boerger 2016-12-02 20:13:20 +01:00 committed by GitHub
commit db6a4e9fbf
5 changed files with 14 additions and 14 deletions

View File

@ -2,7 +2,7 @@
# #
# /etc/rc.d/init.d/gitea # /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
@ -27,7 +27,7 @@ NAME=gitea
GITEA_HOME=/home/git/gitea GITEA_HOME=/home/git/gitea
GITEA_PATH=${GITEA_HOME}/$NAME GITEA_PATH=${GITEA_HOME}/$NAME
GITEA_USER=git GITEA_USER=git
SERVICENAME="Gogs Go Git Service" SERVICENAME="Gitea - Git with a cup of tea"
LOCKFILE=/var/lock/subsys/gitea LOCKFILE=/var/lock/subsys/gitea
LOGPATH=${GITEA_HOME}/log LOGPATH=${GITEA_HOME}/log
LOGFILE=${LOGPATH}/gitea.log LOGFILE=${LOGPATH}/gitea.log

View File

@ -2,7 +2,7 @@
# #
# /etc/init.d/gitea # /etc/init.d/gitea
# #
# Runs the Gogs Go Git Service. # Runs the Gitea Git with a cup of tea.
# #
### BEGIN INIT INFO ### BEGIN INIT INFO
@ -21,7 +21,7 @@ NAME=gitea
GITEA_HOME=/home/git/gitea GITEA_HOME=/home/git/gitea
GITEA_PATH=${GITEA_HOME}/$NAME GITEA_PATH=${GITEA_HOME}/$NAME
GITEA_USER=git GITEA_USER=git
SERVICENAME="Go Git Service" SERVICENAME="Git - with a cup of tea"
LOCKFILE=/var/lock/subsys/gitea LOCKFILE=/var/lock/subsys/gitea
LOGPATH=${GITEA_HOME}/log LOGPATH=${GITEA_HOME}/log
LOGFILE=${LOGPATH}/error.log LOGFILE=${LOGPATH}/error.log

View File

@ -4,7 +4,7 @@
<dict> <dict>
<key>Label</key> <key>Label</key>
<string>io.gitea.web</string> <string>io.gitea.web</string>
<!-- assumes Gogs is running under 'git' account --> <!-- assumes Gitea is running under 'git' account -->
<!-- modify below to reflect your settings --> <!-- modify below to reflect your settings -->
<key>UserName</key> <key>UserName</key>
<string>git</string> <string>git</string>
@ -12,7 +12,7 @@
<string>git</string> <string>git</string>
<key>ProgramArguments</key> <key>ProgramArguments</key>
<array> <array>
<!-- assumes Gogs is installed in /Users/git/gitea --> <!-- assumes Gitea is installed in /Users/git/gitea -->
<!-- modify below to reflect your settings --> <!-- modify below to reflect your settings -->
<string>/Users/git/gitea/gitea</string> <string>/Users/git/gitea/gitea</string>
<string>web</string> <string>web</string>
@ -21,7 +21,7 @@
<true/> <true/>
<key>KeepAlive</key> <key>KeepAlive</key>
<true/> <true/>
<!-- assumes Gogs is installed in /Users/git/gitea --> <!-- assumes Gitea is installed in /Users/git/gitea -->
<!-- modify below to reflect your settings --> <!-- modify below to reflect your settings -->
<key>WorkingDirectory</key> <key>WorkingDirectory</key>
<string>/Users/git/gitea/</string> <string>/Users/git/gitea/</string>
@ -29,7 +29,7 @@
<string>/Users/git/gitea/log/stdout.log</string> <string>/Users/git/gitea/log/stdout.log</string>
<key>StandardErrorPath</key> <key>StandardErrorPath</key>
<string>/Users/git/gitea/log/stderr.log</string> <string>/Users/git/gitea/log/stderr.log</string>
<!-- default 256 is too low for Gogs needs using parallel pipes --> <!-- default 256 is too low for Gitea needs using parallel pipes -->
<key>SoftResourceLimits</key> <key>SoftResourceLimits</key>
<dict> <dict>
<key>NumberOfFiles</key> <key>NumberOfFiles</key>

View File

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=Gogs (Go Git Service) Description=Gitea (Git with a cup of tea)
After=syslog.target After=syslog.target
After=network.target After=network.target
#After=mysqld.service #After=mysqld.service

View File

@ -6,19 +6,19 @@
:: https://nssm.cc/download :: https://nssm.cc/download
:: This script itself should run in the gogs path, too. :: This script itself should run in the gogs path, too.
:: In case of startup failure, please read carefully the log file. :: 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 "gitea web" before running
:: this script. :: this script.
:: And, please, read carefully the installation docs first: :: And, please, read carefully the installation docs first:
:: https://gogs.io/docs/installation :: https://gogs.io/docs/installation
:: To unistall the service, run "nssm remove gogs" and restart Windows. :: 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 SET gogspath=C:\gogs
nssm install gogs "%gogspath%\gogs.exe" nssm install gogs "%gogspath%\gogs.exe"
nssm set gogs AppParameters "web" nssm set gogs AppParameters "web"
nssm set gogs Description "A painless self-hosted Git service." 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 Start SERVICE_DELAYED_AUTO_START
nssm set gogs AppStdout "%gogspath%\gogs.log" nssm set gogs AppStdout "%gogspath%\gogs.log"
nssm start gogs nssm start gogs