mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 12:15:43 +01:00
Merge pull request #2369 from koenwtje/fix-freebsd-init-script
Fix status command in FreeBSD init script
This commit is contained in:
commit
cd966787f3
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ load_rc_config $name
|
||||||
: ${gogs_directory:="/home/git"}
|
: ${gogs_directory:="/home/git"}
|
||||||
|
|
||||||
command="${gogs_directory}/gogs web"
|
command="${gogs_directory}/gogs web"
|
||||||
|
procname="$(echo $command |cut -d' ' -f1)"
|
||||||
|
|
||||||
pidfile="${gogs_directory}/${name}.pid"
|
pidfile="${gogs_directory}/${name}.pid"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue