Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2019 13:01:56 +0000 (UTC)
From:      =?UTF-8?Q?Vin=c3=adcius_Zavam?= <egypcio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515104 - in head/security/dsvpn: . files
Message-ID:  <201910211301.x9LD1uUV084590@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910211301.x9LD1uUV084590>