mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
4db0e1d340
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. |
||
---|---|---|
.. | ||
init | ||
supervisor | ||
systemd | ||
windows | ||
autoboot.sh | ||
build.sh | ||
build_freebsd.sh | ||
build_linux64.sh | ||
mysql.sql |