snapshot inverter files
This commit is contained in:
10
inverter/etc/logrotate.d/inverter
Normal file
10
inverter/etc/logrotate.d/inverter
Normal file
@@ -0,0 +1,10 @@
|
||||
/var/log/*.log {
|
||||
rotate 5
|
||||
compress
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
postrotate
|
||||
/bin/kill -HUP `cat /var/run/inverter/inverter.pid 2>/dev/null` 2> /dev/null || true
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user