svn commit: r452142 - in head/net/gnatsd: . files
Jimmy Olgeni
olgeni at FreeBSD.org
Sun Oct 15 12:32:50 UTC 2017
Author: olgeni
Date: Sun Oct 15 12:32:49 2017
New Revision: 452142
URL: https://svnweb.freebsd.org/changeset/ports/452142
Log:
Replace gnatsd_username with gnatsd_user, which is already provided by rc.subr.
PR: 223027
Submitted by: romain
Modified:
head/net/gnatsd/Makefile
head/net/gnatsd/files/gnatsd.sh.in
Modified: head/net/gnatsd/Makefile
==============================================================================
--- head/net/gnatsd/Makefile Sun Oct 15 11:27:48 2017 (r452141)
+++ head/net/gnatsd/Makefile Sun Oct 15 12:32:49 2017 (r452142)
@@ -3,6 +3,7 @@
PORTNAME= gnatsd
PORTVERSION= 1.0.4
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= olgeni at FreeBSD.org
Modified: head/net/gnatsd/files/gnatsd.sh.in
==============================================================================
--- head/net/gnatsd/files/gnatsd.sh.in Sun Oct 15 11:27:48 2017 (r452141)
+++ head/net/gnatsd/files/gnatsd.sh.in Sun Oct 15 12:32:49 2017 (r452142)
@@ -7,7 +7,7 @@
#
# gnatsd_enable (bool): Set it to "YES" to enable gnatsd server.
# Default is "NO".
-# gnatsd_username: User name to run as. default "nobody"
+# gnatsd_user: User name to run as. default "nobody"
# gnatsd_options: Options to pass gnatsd server
#
@@ -18,11 +18,11 @@ rcvar=`set_rcvar`
load_rc_config ${name}
: ${gnatsd_enable="NO"}
-: ${gnatsd_username="nobody"}
+: ${gnatsd_user="nobody"}
: ${gnatsd_options="-c %%PREFIX%%/etc/gnatsd.conf"}
command=/usr/sbin/daemon
procname=%%PREFIX%%/bin/gnatsd
-command_args="-u ${gnatsd_username} ${procname} ${gnatsd_options}"
+command_args="${procname} ${gnatsd_options}"
run_rc_command "$1"
More information about the svn-ports-head
mailing list