- Run opensvn with --daemon ${name} in order to get distinguishable and

useful syslog tags

PR:		ports/120862
Submitted by:	Matthias Andree <matthias.andree at gmx.de> (maintainer)
This commit is contained in:
Rong-En Fan 2008-02-20 01:15:28 +00:00
parent 7570160916
commit a878ad4e41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207617
4 changed files with 6 additions and 6 deletions

View file

@ -13,7 +13,7 @@ PORTNAME= openvpn
# UPGRADE REQUESTS WILL BE DROPPED UNLESS BSD-RELATED.
# -----------------------------------------------------
PORTVERSION= 2.0.6
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= security net
# MASTER_SITES points to hosts in distinct data centers,
# so just one MASTER_SITES entry should be OK.

View file

@ -2,7 +2,7 @@
#
# openvpn.sh - load tun/tap driver and start OpenVPN daemon
#
# (C) Copyright 2005 - 2007 by Matthias Andree
# (C) Copyright 2005 - 2008 by Matthias Andree
# based on suggestions by Matthias Grimm and Dirk Gouders
# with multi-instance contribution from Denis Shaposhnikov, Gleb Kozyrev
# and Vasil Dimov
@ -126,6 +126,6 @@ dir="$(eval echo \${${name}_dir})"
interfaces="$(eval echo \${${name}_if})"
required_files=${configfile}
command_args="--cd ${dir} --daemon --config ${configfile} --writepid ${pidfile}"
command_args="--cd ${dir} --daemon ${name} --config ${configfile} --writepid ${pidfile}"
run_rc_command "$1"

View file

@ -13,7 +13,7 @@ PORTNAME= openvpn
# UPGRADE REQUESTS WILL BE DROPPED UNLESS BSD-RELATED.
# -----------------------------------------------------
PORTVERSION= 2.0.6
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= security net
# MASTER_SITES points to hosts in distinct data centers,
# so just one MASTER_SITES entry should be OK.

View file

@ -2,7 +2,7 @@
#
# openvpn.sh - load tun/tap driver and start OpenVPN daemon
#
# (C) Copyright 2005 - 2007 by Matthias Andree
# (C) Copyright 2005 - 2008 by Matthias Andree
# based on suggestions by Matthias Grimm and Dirk Gouders
# with multi-instance contribution from Denis Shaposhnikov, Gleb Kozyrev
# and Vasil Dimov
@ -126,6 +126,6 @@ dir="$(eval echo \${${name}_dir})"
interfaces="$(eval echo \${${name}_if})"
required_files=${configfile}
command_args="--cd ${dir} --daemon --config ${configfile} --writepid ${pidfile}"
command_args="--cd ${dir} --daemon ${name} --config ${configfile} --writepid ${pidfile}"
run_rc_command "$1"