first commit
This commit is contained in:
14
logrotate/domoticz
Normal file
14
logrotate/domoticz
Normal file
@@ -0,0 +1,14 @@
|
||||
/var/log/domoticz.log {
|
||||
missingok
|
||||
weekly
|
||||
rotate 7
|
||||
compress
|
||||
notifempty
|
||||
postrotate
|
||||
if [ -x /usr/sbin/invoke-rc.d ]; then \
|
||||
invoke-rc.d domoticz reload > /dev/null; \
|
||||
else \
|
||||
/etc/init.d/domoticz reload > /dev/null; \
|
||||
fi
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user