File tree 5 files changed +14
-14
lines changed 5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
# /etc/rc.d/init.d/gitea
4
4
#
5
- # Runs the Gogs Go Git Service.
6
- #
5
+ # Runs the Gitea Git with a cup of tea.
7
6
#
8
- # chkconfig: - 85 15
7
+ #
8
+ # chkconfig: - 85 15
9
9
#
10
10
11
11
# ## BEGIN INIT INFO
@@ -27,7 +27,7 @@ NAME=gitea
27
27
GITEA_HOME=/home/git/gitea
28
28
GITEA_PATH=${GITEA_HOME} /$NAME
29
29
GITEA_USER=git
30
- SERVICENAME=" Gogs Go Git Service "
30
+ SERVICENAME=" Gitea - Git with a cup of tea "
31
31
LOCKFILE=/var/lock/subsys/gitea
32
32
LOGPATH=${GITEA_HOME} /log
33
33
LOGFILE=${LOGPATH} /gitea.log
Original file line number Diff line number Diff line change 2
2
#
3
3
# /etc/init.d/gitea
4
4
#
5
- # Runs the Gogs Go Git Service .
5
+ # Runs the Gitea Git with a cup of tea .
6
6
#
7
7
8
8
# ## BEGIN INIT INFO
@@ -21,7 +21,7 @@ NAME=gitea
21
21
GITEA_HOME=/home/git/gitea
22
22
GITEA_PATH=${GITEA_HOME} /$NAME
23
23
GITEA_USER=git
24
- SERVICENAME=" Go Git Service "
24
+ SERVICENAME=" Git - with a cup of tea "
25
25
LOCKFILE=/var/lock/subsys/gitea
26
26
LOGPATH=${GITEA_HOME} /log
27
27
LOGFILE=${LOGPATH} /error.log
Original file line number Diff line number Diff line change 4
4
<dict >
5
5
<key >Label </key >
6
6
<string >io.gitea.web </string >
7
- <!-- assumes Gogs is running under 'git' account -->
7
+ <!-- assumes Gitea is running under 'git' account -->
8
8
<!-- modify below to reflect your settings -->
9
9
<key >UserName </key >
10
10
<string >git </string >
11
11
<key >GroupName </key >
12
12
<string >git </string >
13
13
<key >ProgramArguments </key >
14
14
<array >
15
- <!-- assumes Gogs is installed in /Users/git/gitea -->
15
+ <!-- assumes Gitea is installed in /Users/git/gitea -->
16
16
<!-- modify below to reflect your settings -->
17
17
<string >/Users/git/gitea/gitea </string >
18
18
<string >web </string >
21
21
<true />
22
22
<key >KeepAlive </key >
23
23
<true />
24
- <!-- assumes Gogs is installed in /Users/git/gitea -->
24
+ <!-- assumes Gitea is installed in /Users/git/gitea -->
25
25
<!-- modify below to reflect your settings -->
26
26
<key >WorkingDirectory </key >
27
27
<string >/Users/git/gitea/ </string >
28
28
<key >StandardOutPath </key >
29
29
<string >/Users/git/gitea/log/stdout.log </string >
30
30
<key >StandardErrorPath </key >
31
31
<string >/Users/git/gitea/log/stderr.log </string >
32
- <!-- default 256 is too low for Gogs needs using parallel pipes -->
32
+ <!-- default 256 is too low for Gitea needs using parallel pipes -->
33
33
<key >SoftResourceLimits </key >
34
34
<dict >
35
35
<key >NumberOfFiles </key >
Original file line number Diff line number Diff line change 1
1
[Unit]
2
- Description =Gogs (Go Git Service )
2
+ Description =Gitea ( Git with a cup of tea )
3
3
After =syslog.target
4
4
After =network.target
5
5
#After=mysqld.service
Original file line number Diff line number Diff line change 6
6
:: https://nssm.cc/download
7
7
:: This script itself should run in the gogs path, too.
8
8
:: In case of startup failure, please read carefully the log file.
9
- :: Make sure Gogs work running manually with "gogs web" before running
9
+ :: Make sure Gitea work running manually with "gitea web" before running
10
10
:: this script.
11
11
:: And, please, read carefully the installation docs first:
12
12
:: https://gogs.io/docs/installation
13
13
:: To unistall the service, run "nssm remove gogs" and restart Windows.
14
14
15
- :: Set the folder where you extracted Gogs . Omit the last slash.
15
+ :: Set the folder where you extracted Gitea . Omit the last slash.
16
16
SET gogspath = C:\gogs
17
17
18
18
nssm install gogs " %gogspath% \gogs.exe"
19
19
nssm set gogs AppParameters " web"
20
20
nssm set gogs Description " A painless self-hosted Git service."
21
- nssm set gogs DisplayName " Gogs - Go Git Service "
21
+ nssm set gogs DisplayName " Gitea - Git with a cup of tea "
22
22
nssm set gogs Start SERVICE_DELAYED_AUTO_START
23
23
nssm set gogs AppStdout " %gogspath% \gogs.log"
24
24
nssm start gogs
You can’t perform that action at this time.
0 commit comments