author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
Mon, 08 Apr 2013 12:43:57 +0200 | |
branch | oldstable |
changeset 8861 | 38c6a3ea8252 |
parent 5840 | 60880c81e32e |
permissions | -rw-r--r-- |
0 | 1 |
/var/log/cubicweb/*.log { |
2 |
weekly |
|
3 |
missingok |
|
4 |
rotate 10 |
|
5 |
compress |
|
6 |
delaycompress |
|
7 |
notifempty |
|
8 |
create 640 root adm |
|
9 |
sharedscripts |
|
10 |
postrotate |
|
11 |
if [ -x /usr/sbin/invoke-rc.d ]; then \ |
|
5840
60880c81e32e
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5806
diff
changeset
|
12 |
invoke-rc.d cubicweb reload > /dev/null 2>&1; \ |
0 | 13 |
else \ |
5840
60880c81e32e
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5806
diff
changeset
|
14 |
/etc/init.d/cubicweb reload > /dev/null 2>&1; \ |
0 | 15 |
fi; \ |
16 |
endscript |
|
17 |
} |