mirror of
https://github.com/gogs/gogs.git
synced 2026-02-27 16:50:58 +01:00
Simplify description
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# /etc/rc.d/init.d/gogs
|
||||
#
|
||||
# Runs the Gogs Go Git Service.
|
||||
# Runs the Gogs
|
||||
#
|
||||
#
|
||||
# chkconfig: - 85 15
|
||||
@@ -27,7 +27,7 @@ NAME=gogs
|
||||
GOGS_HOME=/home/git/gogs
|
||||
GOGS_PATH=${GOGS_HOME}/$NAME
|
||||
GOGS_USER=git
|
||||
SERVICENAME="Gogs Go Git Service"
|
||||
SERVICENAME="Gogs"
|
||||
LOCKFILE=/var/lock/subsys/gogs
|
||||
LOGPATH=${GOGS_HOME}/log
|
||||
LOGFILE=${LOGPATH}/gogs.log
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="Go Git Service"
|
||||
DESC="Gogs"
|
||||
NAME=gogs
|
||||
SERVICEVERBOSE=yes
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# /etc/init.d/gogs
|
||||
#
|
||||
# Runs the Gogs Go Git Service.
|
||||
# Runs the Gogs
|
||||
#
|
||||
|
||||
### BEGIN INIT INFO
|
||||
@@ -21,7 +21,7 @@ NAME=gogs
|
||||
GOGS_HOME=/home/git/gogs
|
||||
GOGS_PATH=${GOGS_HOME}/$NAME
|
||||
GOGS_USER=git
|
||||
SERVICENAME="Go Git Service"
|
||||
SERVICENAME="Gogs"
|
||||
LOCKFILE=/var/lock/subsys/gogs
|
||||
LOGPATH=${GOGS_HOME}/log
|
||||
LOGFILE=${LOGPATH}/error.log
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Gogs (Go Git Service)
|
||||
Description=Gogs
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
#After=mysqld.service
|
||||
|
||||
@@ -18,7 +18,7 @@ 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 "Gogs"
|
||||
nssm set gogs Start SERVICE_DELAYED_AUTO_START
|
||||
nssm set gogs AppStdout "%gogspath%\gogs.log"
|
||||
nssm start gogs
|
||||
|
||||
Reference in New Issue
Block a user