aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnatsd
diff options
context:
space:
mode:
Diffstat (limited to 'net/gnatsd')
-rw-r--r--net/gnatsd/Makefile1
-rw-r--r--net/gnatsd/files/gnatsd.sh.in6
2 files changed, 4 insertions, 3 deletions
diff --git a/net/gnatsd/Makefile b/net/gnatsd/Makefile
index 37cc984f2aba..5e443e807dce 100644
--- a/net/gnatsd/Makefile
+++ b/net/gnatsd/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gnatsd
PORTVERSION= 1.0.4
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= olgeni@FreeBSD.org
diff --git a/net/gnatsd/files/gnatsd.sh.in b/net/gnatsd/files/gnatsd.sh.in
index 086fd2f537be..15b1c36c985a 100644
--- a/net/gnatsd/files/gnatsd.sh.in
+++ b/net/gnatsd/files/gnatsd.sh.in
@@ -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"