ports-local/net/dante/files/sockd.in

27 lines
413 B
Text
Raw Normal View History

2023-02-23 12:22:23 -05:00
#!/bin/sh
# PROVIDE: sockd
# REQUIRE: NETWORKING
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable sockd:
#
#sockd_enable="YES"
#
. /etc/rc.subr
name=sockd
rcvar=sockd_enable
command=%%PREFIX%%/sbin/sockd
pidfile=/var/run/sockd.pid
required_files=%%PREFIX%%/etc/sockd.conf
sockd_enable=${sockd_enable:-"NO"}
sockd_flags=${sockd_flags:-"-D"}
load_rc_config $name
run_rc_command "$1"