bench-forgejo/scripts/init
Koen Wilde 4db0e1d340 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.
2016-01-09 13:31:45 +01:00
..
centos adding extra check on logpath 2015-10-31 07:32:34 -05:00
debian Set USER env variable so installation can complete successfully. 2015-09-26 23:33:53 -05:00
freebsd Fix status command in FreeBSD init script 2016-01-09 13:31:45 +01:00