0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-18 23:24:54 +01:00

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
#
# Runs the Gogs Go Git Service.
# Runs the Gitea Git with a cup of tea.
#
#
# chkconfig: - 85 15
@ -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

View file

@ -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

View file

@ -4,7 +4,7 @@
<dict>
<key>Label</key>
<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 -->
<key>UserName</key>
<string>git</string>
@ -12,7 +12,7 @@
<string>git</string>
<key>ProgramArguments</key>
<array>
<!-- assumes Gogs is installed in /Users/git/gitea -->
<!-- assumes Gitea is installed in /Users/git/gitea -->
<!-- modify below to reflect your settings -->
<string>/Users/git/gitea/gitea</string>
<string>web</string>
@ -21,7 +21,7 @@
<true/>
<key>KeepAlive</key>
<true/>
<!-- assumes Gogs is installed in /Users/git/gitea -->
<!-- assumes Gitea is installed in /Users/git/gitea -->
<!-- modify below to reflect your settings -->
<key>WorkingDirectory</key>
<string>/Users/git/gitea/</string>
@ -29,7 +29,7 @@
<string>/Users/git/gitea/log/stdout.log</string>
<key>StandardErrorPath</key>
<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>
<dict>
<key>NumberOfFiles</key>

View file

@ -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

View file

@ -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 "gitea 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