Comment

Comment by bmir-alum-007

FBSD: I was just dealing with circular dependency hell (or misunderstanding of docs/conventions) in some rc.d scripts.

Maybe someone here knows how to do this properly (or better):

    # /usr/local/etc/rc.d/dnscrypt-proxy
    #
    # PROVIDE: dnscrypt_proxy
    # REQUIRE: ldconfig cleanvar NETWORKING
    # BEFORE: SERVERS local_unbound
    # KEYWORD: shutdown
^--- REQUIRE: ... NETWORKING always seems to cause a circular dependency (as per running: rcorder /etc/rc.d/* /usr/local/etc/rc.d/*)

Help appreciated, not required, just showing a real-life example.

parent bmir-alum-007 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton