svn commit: r515104 - in head/security/dsvpn: . files
Vinícius Zavam
egypcio at FreeBSD.org
Mon Oct 21 13:01:56 UTC 2019
Author: egypcio
Date: Mon Oct 21 13:01:55 2019
New Revision: 515104
URL: https://svnweb.freebsd.org/changeset/ports/515104
Log:
security/dsvpn: fix rc script
Reported by: Franz Shaach <fzsh % protonmail.ch>
Modified:
head/security/dsvpn/Makefile
head/security/dsvpn/files/dsvpn.in
Modified: head/security/dsvpn/Makefile
==============================================================================
--- head/security/dsvpn/Makefile Mon Oct 21 12:31:06 2019 (r515103)
+++ head/security/dsvpn/Makefile Mon Oct 21 13:01:55 2019 (r515104)
@@ -2,6 +2,7 @@
PORTNAME= dsvpn
PORTVERSION= 0.1.3
+PORTREVISION= 1
CATEGORIES= security net net-vpn
MAINTAINER= egypcio at FreeBSD.org
Modified: head/security/dsvpn/files/dsvpn.in
==============================================================================
--- head/security/dsvpn/files/dsvpn.in Mon Oct 21 12:31:06 2019 (r515103)
+++ head/security/dsvpn/files/dsvpn.in Mon Oct 21 13:01:55 2019 (r515104)
@@ -26,6 +26,8 @@ procname="%%PREFIX%%/sbin/${name}"
: ${dsvpn_port:="443"}
: ${dsvpn_remote:=""}
+load_rc_config $name
+
required_files=${dsvpn_key}
command=/usr/sbin/daemon
@@ -34,5 +36,4 @@ command=/usr/sbin/daemon
command_args_dsvpn="client ${dsvpn_key} ${dsvpn_remote} ${dsvpn_port}"
command_args="-o /var/log/${name}.log -p ${pidfile} ${procname} ${command_args_dsvpn}"
-load_rc_config $name
run_rc_command "$1"
More information about the svn-ports-head
mailing list