Date: Mon, 11 Sep 2017 18:26:30 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221960] databases/influxdb: Log to syslog patch Message-ID: <bug-221960-13-FBfJCtIttH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221960-13@https.bugs.freebsd.org/bugzilla/> References: <bug-221960-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221960 --- Comment #5 from Eugene Grosbein <eugen@freebsd.org> --- (In reply to Sascha Holzleiter from comment #4) Why have you removed influxd_precmd() function needed to create INFLUXD_PID= DIR? 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 s= uch systems: .if ${OPSYS} =3D=3D FreeBSD && ((OSVERSION >=3D 1100513 && OSVERSION < 1200= 000) || OSVERSION >=3D 1200015) .endif And use post-build target to conditionnaly modify ${WRKDIR}/influxd startup script. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221960-13-FBfJCtIttH>