Skip to content

Fixed project name on scripts #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions scripts/init/centos/gitea
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/init/suse/gitea
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions scripts/launchd/io.gitea.web.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<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>
<key>GroupName</key>
<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>
Expand All @@ -21,15 +21,15 @@
<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>
<key>StandardOutPath</key>
<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>
Expand Down
2 changes: 1 addition & 1 deletion scripts/systemd/gitea.service
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions scripts/windows/install-as-service.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down