projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc/webserver/config/index.php: Remove obsolete section about 'new' web interface...
[privoxy.git]
/
debian
/
logrotate
diff --git
a/debian/logrotate
b/debian/logrotate
index
a110e93
..
deddd26
100644
(file)
--- a/
debian/logrotate
+++ b/
debian/logrotate
@@
-6,11
+6,11
@@
compress
sharedscripts
postrotate
compress
sharedscripts
postrotate
- if
[ -x /usr/sbin/invoke-rc.d ]
; then
- invoke-rc.d privoxy r
estart
> /dev/null
+ if
which invoke-rc.d >/dev/null 2>&1
; then
+ invoke-rc.d privoxy r
otate
> /dev/null
else
if [ -f /var/run/privoxy.pid ]; then
else
if [ -f /var/run/privoxy.pid ]; then
- /etc/init.d/privoxy r
estart
> /dev/null
+ /etc/init.d/privoxy r
otate
> /dev/null
fi
fi
endscript
fi
fi
endscript