Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143487221
D45938.id141394.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
766 B
Referenced Files
None
Subscribers
None
D45938.id141394.diff
View Options
diff --git a/lang/erlang/files/epmd.in b/lang/erlang/files/epmd.in
--- a/lang/erlang/files/epmd.in
+++ b/lang/erlang/files/epmd.in
@@ -1,23 +1,27 @@
#!/bin/sh
# PROVIDE: epmd
-# REQUIRE: LOGIN
+# REQUIRE: DAEMON mountlate
#
# Add the following line to /etc/rc.conf to enable epmd:
#
# epmd_enable="YES"
#
-
-epmd_enable=${epmd_enable:-"NO"}
+# Configure optional flags with:
+# epmd_flags="-address 127.0.0.1"
. /etc/rc.subr
name=epmd
rcvar=epmd_enable
+load_rc_config ${name}
+
+: ${epmd_enable="NO"}
+: ${epmd_flags:-""}
+
procname=%%PREFIX%%/bin/epmd
-start_cmd="%%PREFIX%%/bin/epmd -daemon"
+start_cmd="%%PREFIX%%/bin/epmd -daemon ${epmd_flags}"
stop_cmd="%%PREFIX%%/bin/epmd -kill >/dev/null"
-load_rc_config ${name}
run_rc_command "$1"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 31, 5:59 PM (7 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28146049
Default Alt Text
D45938.id141394.diff (766 B)
Attached To
Mode
D45938: lang/erlang: ensure epmd receives user-configurable flags
Attached
Detach File
Event Timeline
Log In to Comment