Skip to content

Commit

Permalink
updated BSD rc.d REQUIRE targets (#1750)
Browse files Browse the repository at this point in the history
A couple things have made this necessary: node depending on a shared libuv, and FreeBSD 11 having more async rc.d behavior. Without this change, the Haraka startup script can get called before ldconfig, resulting in this error:

Shared object "libuv.so.1" not found, required by "node"
  • Loading branch information
msimerson authored Dec 29, 2016
1 parent 2eaba78 commit 2eae407
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion contrib/bsd-rc.d/haraka
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# tested on FreeBSD. Should work on NetBSD and Dragonfly

# PROVIDE: haraka
# REQUIRE: networking syslog
# REQUIRE: NETWORKING ldconfig
# KEYWORD: shutdown

. /etc/rc.subr

Expand Down
4 changes: 1 addition & 3 deletions contrib/bsd-rc.d/p0f
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/bin/sh

# PROVIDE: p0f
# REQUIRE: ezjail
# BEFORE: DAEMON
# KEYWORD: shutdown
# REQUIRE: NETWORKING

# Add the following lines to /etc/rc.conf to enable `p0f':
#
Expand Down

0 comments on commit 2eae407

Please sign in to comment.