aboutsummaryrefslogtreecommitdiffstats
path: root/main/cups/cups.logrotate
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-06-27 21:02:10 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-06-27 21:07:45 +0200
commit17183b65a8fd709b62a9b51524dd57a107111a09 (patch)
tree18a1b0e1fadff50d06d476b4eeca748c009fecc0 /main/cups/cups.logrotate
parentdb0a0d6a6a85307625cfa634d1785c659f252566 (diff)
downloadaports-17183b65a8fd709b62a9b51524dd57a107111a09.tar.bz2
aports-17183b65a8fd709b62a9b51524dd57a107111a09.tar.xz
main/cups: improve runscript
Diffstat (limited to 'main/cups/cups.logrotate')
-rw-r--r--main/cups/cups.logrotate12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/cups/cups.logrotate b/main/cups/cups.logrotate
index 9c49bbdaff..a50b058a3c 100644
--- a/main/cups/cups.logrotate
+++ b/main/cups/cups.logrotate
@@ -1,8 +1,8 @@
/var/log/cups/*log {
- missingok
- notifempty
- delaycompress
- postrotate
- /bin/kill -HUP `cat /var/run/cups.pid 2>/dev/null` 2>/dev/null || true
- endscript
+ missingok
+ notifempty
+ delaycompress
+ postrotate
+ /etc/init.d/cupsd --quiet --ifstarted reload
+ endscript
}