diff options
author | Koen Wilde <koen@chillheid.nl> | 2016-01-09 13:31:45 +0100 |
---|---|---|
committer | Koen Wilde <koen@chillheid.nl> | 2016-01-09 13:31:45 +0100 |
commit | 4db0e1d340293011e6a0c097d7cf6b9b2b8716aa (patch) | |
tree | 43096f5b24b0dda340f543e6033ed887d85485ad /templates/admin | |
parent | e0f0f72a362e98073980d9e3c70cde8cd161614b (diff) | |
download | gitea-4db0e1d340293011e6a0c097d7cf6b9b2b8716aa.tar.gz gitea-4db0e1d340293011e6a0c097d7cf6b9b2b8716aa.zip |
Fix status command in FreeBSD init script
If the init script is called with `status`, the rc.subr(8) routines check if
the first argument associated with the pid in the pidfile is equal to
`procname`. By default, `procname` is equal to the value of `command`. In our
case, `command` contains a space (i.e. has multiple arguments), so `procname`
can never be equal to the first argument of the command associated with the
pid.
Set `procname` to the first argument of `command` to fix the `status` command
of the init script.
Diffstat (limited to 'templates/admin')
0 files changed, 0 insertions, 0 deletions