diff options
author | Rene Ladan <rene@FreeBSD.org> | 2020-03-31 16:15:16 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2020-03-31 16:15:16 +0000 |
commit | 3c6fba3a38899c63d3dbc2bcbc45740cf327c6b3 (patch) | |
tree | 3dde9d52f34dfb1247213c04b75eda5c746d1114 /net-mgmt | |
parent | 22ddb939272b64b06b07a246858f63dbfaf2906a (diff) | |
download | ports-3c6fba3a38899c63d3dbc2bcbc45740cf327c6b3.tar.gz ports-3c6fba3a38899c63d3dbc2bcbc45740cf327c6b3.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/kapacitor/Makefile | 10 | ||||
-rw-r--r-- | net-mgmt/kapacitor/files/kapacitord.in | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/net-mgmt/kapacitor/Makefile b/net-mgmt/kapacitor/Makefile index 96476a0e343a..7ba6fd7c6fb4 100644 --- a/net-mgmt/kapacitor/Makefile +++ b/net-mgmt/kapacitor/Makefile @@ -44,14 +44,6 @@ KAPACITORD_GROUP= influxd USERS= ${KAPACITORD_USER} GROUPS= ${KAPACITORD_GROUP} -.include <bsd.port.pre.mk> - -.if ${OPSYS} == "FreeBSD" && (${OSVERSION} < 1200000 || ${OSVERSION} >= 1200015) -SUB_LIST+= KAPACITORD_LOGCMD="daemon" -.else -SUB_LIST+= KAPACITORD_LOGCMD="logger" -.endif - KAPACITORD_DBDIR= /var/db/${PORTNAME}/ KAPACITORD_LOGDIR= /var/log/${PORTNAME}/ @@ -65,4 +57,4 @@ post-install: ${WRKSRC}/etc/${PORTNAME}/${PORTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-mgmt/kapacitor/files/kapacitord.in b/net-mgmt/kapacitor/files/kapacitord.in index 52052cfabfb6..ad4432460c5e 100644 --- a/net-mgmt/kapacitor/files/kapacitord.in +++ b/net-mgmt/kapacitor/files/kapacitord.in @@ -35,7 +35,7 @@ start_precmd=kapacitord_prestart kapacitord_pidfile="/var/run/${name}.pid" procname="%%PREFIX%%/bin/${name}" command=/usr/sbin/daemon -start_cmd="kapacitord_startcmd_%%KAPACITORD_LOGCMD%%" +start_cmd="kapacitord_startcmd_daemon" kapacitord_startcmd_daemon() { |