Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install a newsyslog config file to rotate Librenms logs.
PR: 255427 Reported by: James French <james@french.id.au>
- Loading branch information
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# configuration file for newsyslog for librenms | ||
# | ||
# see newsyslog.conf(5) for details | ||
# | ||
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] | ||
/var/log/librenms/librenms.log www:www 644 7 * $D0 J /var/run/librenms/librenms.pid | ||
/var/log/librenms/librenms-service.log www:www 644 7 * $D0 J /var/run/librenms/librenms.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters