summaryrefslogtreecommitdiff
path: root/security/openvpn/files
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-02-20 01:15:28 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-02-20 01:15:28 +0000
commita878ad4e416a313c5a95397a634713a3af4b08b9 (patch)
treee224fd07822c84cc01ad2b51e69cd751a0f7963c /security/openvpn/files
parentThird party tiling algorithms, configurations and scripts to xmonad. (diff)
- 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)
Diffstat (limited to 'security/openvpn/files')
-rw-r--r--security/openvpn/files/openvpn.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/openvpn/files/openvpn.sh.in b/security/openvpn/files/openvpn.sh.in
index ee9853a121d8..84da0a29b940 100644
--- a/security/openvpn/files/openvpn.sh.in
+++ b/security/openvpn/files/openvpn.sh.in
@@ -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"