File: 05_fix-logrotate-file

package info (click to toggle)
nagzilla 2.0-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 504 kB
  • sloc: perl: 272; sh: 191; makefile: 17
file content (21 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Gerfried Fuchs <rhonda@debian.at>	vim:ft=diff:
Description: Create logrotate files with nagzilla user writeable

Index: nagzilla-1.5.5-1/nagzillad
===================================================================
--- nagzilla-1.5.5-1.orig/nagzillad
+++ nagzilla-1.5.5-1/nagzillad
@@ -1,11 +1,11 @@
-/var/log/nagzillad.log {
+/var/log/nagzilla/nagzillad.log {
         daily
          missingok
          rotate 356
          compress
          delaycompress
          notifempty
-         create 640 root adm
+         create 640 nagzilla adm
          sharedscripts
          postrotate
            /etc/init.d/nagzillad restart > /dev/null