Logo
Explore Help
Sign In
mirror/librenms-librenms
1
0
Fork 0
You've already forked librenms-librenms
mirror of https://github.com/librenms/librenms.git synced 2024-10-07 16:52:45 +00:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
9bc0c542a5416782a013b79f057bdd9779fadbdf
librenms-librenms/misc/librenms.logrotate

12 lines
198 B
Plaintext
Raw Normal View History

docs: Add logrotate config and update install docs (#5520)
2017-01-21 06:11:22 -05:00
# /etc/logrotate.d/librenms
Update librenms.logrotate (#8220) * Update librenms.logrotate - Change path /opt/librenms/logs/*log so that logrotate catches http logs (access_log and error_log). - Added SU parameter to rotate files with librenms user, as it was throwing insecure permissions error without it. - Added CREATE parameter to create new log files as librenms user. * Update librenms.logrotate
2018-02-07 20:44:17 +01:00
/opt/librenms/logs/*log {
su librenms librenms
docs: Add logrotate config and update install docs (#5520)
2017-01-21 06:11:22 -05:00
weekly
rotate 6
compress
delaycompress
missingok
notifempty
Update librenms.logrotate (#8220) * Update librenms.logrotate - Change path /opt/librenms/logs/*log so that logrotate catches http logs (access_log and error_log). - Added SU parameter to rotate files with librenms user, as it was throwing insecure permissions error without it. - Added CREATE parameter to create new log files as librenms user. * Update librenms.logrotate
2018-02-07 20:44:17 +01:00
create 664 librenms librenms
docs: Add logrotate config and update install docs (#5520)
2017-01-21 06:11:22 -05:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Page: 1300ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API