svn commit: r496686 - in head/sysutils/nut: . files
Mathieu Arnold
mat at FreeBSD.org
Wed Mar 27 11:16:15 UTC 2019
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.
>
> Add syslog.conf and newsyslog.conf files for installation into their
> respective .d directories in $PREFIX.
>
> Allow upslog log format to be customized.
>
> + @${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/newsyslog.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.)
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20190327/0d3286c9/attachment-0001.sig>
More information about the svn-ports-all
mailing list