FreeBSD: Cant stop program started by rc.d ("is not running")
Solution 1:
You need to set the procname
as well, since rc.subr
checks both the pid and the name of that process to match what it expects, in case the command died and some other process happened to have gotten the same pid.
So, add a line after rcvar
like this:
procname="/home/victor/.venv/appleclue/bin/gunicorn"
For more details, see rc.subr or read /etc/rc.subr
.