summaryrefslogtreecommitdiff
path: root/user/apache-httpd/apache-httpd.logrotate
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2018-02-04 21:15:27 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-27 16:09:07 -0500
commitbe6bc7b26c9ad0574ed6cfb17470224d2a5e8820 (patch)
tree8b06ae2be324fb4baf2961be4061a10d9153e1ee /user/apache-httpd/apache-httpd.logrotate
parentbf44d023eda4469b01cfec21bebe664feea6285c (diff)
downloadpackages-be6bc7b26c9ad0574ed6cfb17470224d2a5e8820.tar.gz
packages-be6bc7b26c9ad0574ed6cfb17470224d2a5e8820.tar.bz2
packages-be6bc7b26c9ad0574ed6cfb17470224d2a5e8820.tar.xz
packages-be6bc7b26c9ad0574ed6cfb17470224d2a5e8820.zip
user/apache-httpd: new package
Diffstat (limited to 'user/apache-httpd/apache-httpd.logrotate')
-rw-r--r--user/apache-httpd/apache-httpd.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/apache-httpd/apache-httpd.logrotate b/user/apache-httpd/apache-httpd.logrotate
new file mode 100644
index 000000000..b50fb7147
--- /dev/null
+++ b/user/apache-httpd/apache-httpd.logrotate
@@ -0,0 +1,10 @@
+/var/log/apache2/*log {
+ missingok
+ notifempty
+ sharedscripts
+ delaycompress
+ postrotate
+ /etc/init.d/apache2 --quiet --ifstarted reload > /dev/null 2>/dev/null || true
+ endscript
+}
+