[Bug 221960] databases/influxdb: Log to syslog patch
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 11 18:26:30 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221960
--- Comment #5 from Eugene Grosbein <eugen at freebsd.org> ---
(In reply to Sascha Holzleiter from comment #4)
Why have you removed influxd_precmd() function needed to create INFLUXD_PIDDIR?
FreeBSD supports systems starting with RAM-based non-persistent /var
(diskless(8)) and such systems need this.
Also, this way you force usage of complex construct with extra run-time
overhead for newer FreeBSD versions despite of the fact its daemon(8) has
built-in syslog support. You can use following expression to differentiate
FreeBSD version that have this support and use your previous approach for such
systems:
.if ${OPSYS} == FreeBSD && ((OSVERSION >= 1100513 && OSVERSION < 1200000) ||
OSVERSION >= 1200015)
.endif
And use post-build target to conditionnaly modify ${WRKDIR}/influxd startup
script.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list