Hello,

currently dkimproxy rc scripts don’t handle the status rc command

my hack is the following ("old school" script, I don’t know enough about rc command deeps to make things nicer)

# at the end of rc.d/dkimproxy_out replace

                run_rc_command "$1"

# by the following

        case $1 in
                status)
if /usr/bin/pgrep -F "${dkimproxy_out_pidfile}" > / dev/null 2>&1; then
                                echo "${name} is running"
                                exit 0;
                        else
                                echo "${name} is not running"
                                exit 1
                        fi
                ;;
                *)
                        run_rc_command "$1"
                ;;
        esac


Hope this help._______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to