mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Provide the possibility to specify the listening address via rc.d script
This commit is contained in:
parent
011faf9169
commit
fb97de2d66
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246343
2 changed files with 3 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= minissdpd
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://miniupnp.free.fr/files/ \
|
||||
CRITICAL
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# Add the following line to /etc/rc.conf to enable minissdpd
|
||||
# minissdpd_enable="YES"
|
||||
# minissdpd_flags="<set as needed>"
|
||||
# minissdpd_flags="-i listen_addr"
|
||||
|
||||
name=minissdpd
|
||||
rcvar=`set_rcvar`
|
||||
|
@ -21,7 +21,6 @@ minissdpd_enable=${minissdpd_enable:-"NO"}
|
|||
command="%%PREFIX%%/sbin/minissdpd"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
sockfile="/var/run/${name}.sock"
|
||||
address="0.0.0.0"
|
||||
command_args="-s ${sockfile} -p ${pidfile} -i ${address}"
|
||||
command_args="-s ${sockfile} -p ${pidfile}"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Add table
Reference in a new issue