https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216115

--- Comment #12 from Alex Kozlov <[email protected]> ---
Yes, it's leftover of (mis)merge from NetBSD in r98186, instead of 

else 
   _pidcmd='rc_pid=$(check_process '"$_procname $command_interpreter"')'

previously it was

elif [ -n "$command" ]; then
   _pidcmd='_pid=`check_process '$command'`'

so
if [ -n "$_pidcmd" ]; then

kinda makes sense.

And you're right, sendmail rc script setting up pidfile vatiable, so it should
get status and poll commands, but because it setting more than one rcvar,
service is confused.

It's not that easy to properly fix service, unfortunately.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "[email protected]"

Reply via email to