summaryrefslogtreecommitdiffstats
path: root/debian/rsyslog-rotate
blob: ef3954b1e04b83e9188fb48333a2e86ddf62f214 (plain)
1
2
3
4
5
#!/bin/sh

if [ -d /run/systemd/system ]; then
    systemctl kill -s HUP rsyslog.service
fi