summaryrefslogtreecommitdiff
path: root/skip/samba/samba.logrotate
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /skip/samba/samba.logrotate
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'skip/samba/samba.logrotate')
-rw-r--r--skip/samba/samba.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/skip/samba/samba.logrotate b/skip/samba/samba.logrotate
new file mode 100644
index 0000000..88abb90
--- /dev/null
+++ b/skip/samba/samba.logrotate
@@ -0,0 +1,9 @@
+/var/log/samba/log.* /var/log/samba/*.log {
+ notifempty
+ missingok
+ sharedscripts
+ copytruncate
+ postrotate
+ /etc/init.d/samba --quiet --ifstarted reload
+ endscript
+}