Date: Thu, 6 Feb 2020 13:38:11 +0000 (UTC) From: Babak Farrokhi <farrokhi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525378 - in head/net-mgmt/fastnetmon: . files Message-ID: <202002061338.016DcBlQ026226@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: farrokhi Date: Thu Feb 6 13:38:11 2020 New Revision: 525378 URL: https://svnweb.freebsd.org/changeset/ports/525378 Log: net-mgmt/fastnetmon: Improve RC script - Instruct fastnetmaon to read configuration file from PREFIX - Bump PORTREVISION PR: 241571 Submitted by: Leo Vandewoestijne <freebsd@dns.company> Modified: head/net-mgmt/fastnetmon/Makefile head/net-mgmt/fastnetmon/files/fastnetmon.in Modified: head/net-mgmt/fastnetmon/Makefile ============================================================================== --- head/net-mgmt/fastnetmon/Makefile Thu Feb 6 13:38:03 2020 (r525377) +++ head/net-mgmt/fastnetmon/Makefile Thu Feb 6 13:38:11 2020 (r525378) @@ -4,7 +4,7 @@ PORTNAME= fastnetmon PORTVERSION= 1.1.4 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt security MAINTAINER= farrokhi@FreeBSD.org Modified: head/net-mgmt/fastnetmon/files/fastnetmon.in ============================================================================== --- head/net-mgmt/fastnetmon/files/fastnetmon.in Thu Feb 6 13:38:03 2020 (r525377) +++ head/net-mgmt/fastnetmon/files/fastnetmon.in Thu Feb 6 13:38:11 2020 (r525378) @@ -19,10 +19,12 @@ rcvar=fastnetmon_enable load_rc_config "$name" : ${fastnetmon_enable:=NO} -: ${fastnetmon_user:=fastnetmon} +: ${fastnetmon_conf:=%%ETCDIR%%/$name.conf} : ${fastnetmon_flags:=--daemonize} +: ${fastnetmon_user:=fastnetmon} command=%%PREFIX%%/bin/fastnetmon +command_args="--configuration_file ${fastnetmon_conf} ${fastnetmon_flags}" pidfile=/var/run/fastnetmon/$name.pid run_rc_command "$1"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002061338.016DcBlQ026226>