rsyslog-rotate 141 B

12345678
  1. #!/bin/sh
  2. if [ -d /run/systemd/system ]; then
  3. systemctl kill -s HUP rsyslog.service
  4. else
  5. invoke-rc.d rsyslog rotate > /dev/null
  6. fi