ubuntu-22.04.3-desktop-amd64/casper/filesystem/usr/lib/rsyslog/rsyslog-rotate

6 lines
92 B
Bash
Executable File

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