summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/logrotate-server.xymon
blob: a2314701ece32499c26da1df8fb95191dbca4a06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/var/log/hobbit/*.log /var/log/hobbit/*.pid {
   missingok
   notifempty
   size 512k
   rotate 2
   compress
   postrotate
       if [ -f /service/xymon-server/run ]
       then
         sv hup xymon-server 2&>1 > /dev/null
      fi

   endscript

}