projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MbedTLS: Use mbedtls_md5_ret() instead of mbedtls_md5()
[privoxy.git]
/
debian
/
logrotate
diff --git
a/debian/logrotate
b/debian/logrotate
index
a110e93
..
d86c12b
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
else
- if [ -f /
var/
run/privoxy.pid ]; then
- /etc/init.d/privoxy r
estart
> /dev/null
+ if [ -f /run/privoxy.pid ]; then
+ /etc/init.d/privoxy r
otate
> /dev/null
fi
fi
endscript
fi
fi
endscript