summaryrefslogtreecommitdiffstats
path: root/debian/rsyslog-rotate
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rsyslog-rotate')
-rwxr-xr-xdebian/rsyslog-rotate5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rsyslog-rotate b/debian/rsyslog-rotate
new file mode 100755
index 0000000..ef3954b
--- /dev/null
+++ b/debian/rsyslog-rotate
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -d /run/systemd/system ]; then
+ systemctl kill -s HUP rsyslog.service
+fi