3 ms·
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
by bmir-alum-007 11y ago
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.
- feld 11y agodid you open a bug? this should be fixed in the port, not on your local machine.