about summary refs log tree commit diff stats
path: root/tools/conf/etc/logrotate.d/dnsmasq
diff options
context:
space:
mode:
Diffstat (limited to 'tools/conf/etc/logrotate.d/dnsmasq')
-rw-r--r--tools/conf/etc/logrotate.d/dnsmasq11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/conf/etc/logrotate.d/dnsmasq b/tools/conf/etc/logrotate.d/dnsmasq
new file mode 100644
index 0000000..3151ddc
--- /dev/null
+++ b/tools/conf/etc/logrotate.d/dnsmasq
@@ -0,0 +1,11 @@
+/var/log/dnsmasq {
+    weekly
+    create 0644 root root
+    rotate 5
+    sharedscripts
+    postrotate
+    if [ -f /var/run/syslog-ng.pid ]; then \
+    	kill -HUP `cat /var/run/syslog-ng.pid`; \
+    fi;
+    endscript
+}
aram <vc@akkartik.com> 2020-01-01 17:23:29 -0800 5856' href='/akkartik/mu/commit/apps/Readme.md?h=hlt&id=113bae7311b63e55e55160970718d19bfeeb56c3'>113bae73 ^
42349345 ^


113bae73 ^





9a524793 ^





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27