index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
scripts
/
init
/
freebsd
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'scripts/init/freebsd')
-rw-r--r--
scripts/init/freebsd/gogs
1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/init/freebsd/gogs b/scripts/init/freebsd/gogs
index 42258c40..eb571574 100644
--- a/
scripts/init/freebsd/gogs
+++ b/
scripts/init/freebsd/gogs
@@ -22,6 +22,7 @@ load_rc_config $name
: ${gogs_directory:="/home/git"}
command="${gogs_directory}/gogs web"
+procname="$(echo $command |cut -d' ' -f1)"
pidfile="${gogs_directory}/${name}.pid"