summaryrefslogtreecommitdiffstats
path: root/smartproxy/ipa-smartproxy.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'smartproxy/ipa-smartproxy.logrotate')
-rw-r--r--smartproxy/ipa-smartproxy.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/smartproxy/ipa-smartproxy.logrotate b/smartproxy/ipa-smartproxy.logrotate
new file mode 100644
index 00000000..12e25164
--- /dev/null
+++ b/smartproxy/ipa-smartproxy.logrotate
@@ -0,0 +1,11 @@
+/var/log/ipa-smartproxy.access /var/log/ipa-smartproxy.errors {
+ weekly
+ missingok
+ notifempty
+ sharedscripts
+ rotate 52
+ compress
+ postrotate
+ /bin/systemctl reload ipa-smartproxy.service > /dev/null 2>/dev/null || true
+ endscript
+}