Simplify description

This commit is contained in:
Unknwon
2017-02-15 22:29:31 -05:00
parent f35bd34002
commit 3137665e6e
14 changed files with 28 additions and 35 deletions

View File

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

View File

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

View File

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

View File

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

View File

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