Commit Graph

4 Commits (1c74612b3c025282d4731880575922c797813ca7)

Author SHA1 Message Date
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.
9 years ago
Renato Aquino 923c45d721 HOME fix into FreeBSD init script 10 years ago
William Friesen bfef8f0edd Fix command used by FreeBSD init script 10 years ago
Clint Armstrong 66a9c0d71d Rename scripts/rc/freebsd/gogs to scripts/init/freebsd/gogs 10 years ago