summaryrefslogtreecommitdiffstats
path: root/debian/rsyslog-rotate
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:21 +0000
commit24b1e14e26b1bc6cf98663c2964a3637c56944eb (patch)
tree5dfbc4d09ae789919613f5e20d0dcac87e6ece90 /debian/rsyslog-rotate
parentAdding upstream version 8.2402.0. (diff)
downloadrsyslog-24b1e14e26b1bc6cf98663c2964a3637c56944eb.tar.xz
rsyslog-24b1e14e26b1bc6cf98663c2964a3637c56944eb.zip
Adding debian version 8.2402.0-1.debian/8.2402.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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