Date: Wed, 27 Mar 2019 18:40:20 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Mathieu Arnold <mat@FreeBSD.org> Cc: Cy Schubert <cy@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r496686 - in head/sysutils/nut: . files Message-ID: <201903280140.x2S1eKh5020670@slippy.cwsent.com> In-Reply-To: Message from Mathieu Arnold <mat@FreeBSD.org> of "Wed, 27 Mar 2019 12:16:08 %2B0100." <20190327111608.wkgqqzwlbmkyqtkv@atuin.in.mat.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20190327111608.wkgqqzwlbmkyqtkv@atuin.in.mat.cc>, Mathieu Arnold wr ites: > > --ggkuxknsxeql4p7e > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Sat, Mar 23, 2019 at 07:34:07PM +0000, Cy Schubert wrote: > > Log: > > Move default log location so it can be rotated without root privileges. > > =20 > > Add syslog.conf and newsyslog.conf files for installation into their > > respective .d directories in $PREFIX. > > =20 > > Allow upslog log format to be customized. > > =20 > > + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d > > + ${INSTALL_DATA} ${PATCHDIR}/nut.syslog ${STAGEDIR}${PREFIX}/etc/syslog. > = > d/nut > > + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d > > + ${INSTALL_DATA} ${PATCHDIR}/nut.newsyslog ${STAGEDIR}${PREFIX}/etc/news > = > yslog.conf.d/nut.conf > > + ${MKDIR} ${STAGEDIR}/var/log/nut > > > +etc/newsyslog.conf.d/nut.conf > > +etc/syslog.d/nut > > Both should be using @sample to allow modification by the user. > (Also, you cannot put the original files in the same directory as both > newsyslog and syslog grab every file.) This has been fixed. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903280140.x2S1eKh5020670>