View | Details | Raw Unified | Return to bug 255427 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-mgmt/librenms/Makefile (+5 lines)
Lines 194-197 post-install: Link Here
194
	@${ECHO_CMD} "@dir(root,www,0775) ${WWWDIR}/${f}" >> ${TMPPLIST}
194
	@${ECHO_CMD} "@dir(root,www,0775) ${WWWDIR}/${f}" >> ${TMPPLIST}
195
.endfor
195
.endfor
196
196
197
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
198
	${INSTALL_DATA} ${FILESDIR}/newsyslog.conf ${STAGEDIR}/${WWWDIR}/contrib/newsyslog.conf
199
	@${ECHO_CMD} "@dir etc/newsyslog.conf.d" >> ${TMPPLIST}
200
	@${ECHO_CMD} "@sample ${WWWDIR}/contrib/newsyslog.conf etc/newsyslog.conf.d/librenms.conf" >> ${TMPPLIST}
201
197
.include <bsd.port.mk>
202
.include <bsd.port.mk>
(-)b/net-mgmt/librenms/files/newsyslog.conf (+7 lines)
Added Link Here
1
# configuration file for newsyslog for librenms
2
#
3
# see newsyslog.conf(5) for details
4
#
5
# logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]
6
/var/log/librenms/librenms.log	www:www	644  7	   100	*     J	    /var/run/librenms/librenms.pid
7
/var/log/librenms/librenms-service.log	www:www	644  7	   100	*     J	    /var/run/librenms/librenms.pid

Return to bug 255427