File: rsyslog-rotate

package info (click to toggle)
orphan-sysvinit-scripts 0.22
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 220 kB
  • sloc: sh: 1,498; makefile: 5
file content (7 lines) | stat: -rwxr-xr-x 224 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/bin/sh

if [ -d /run/systemd/system ] && [ -x /usr/lib/rsyslog/rsyslog-rotate.real ]; then
    /usr/lib/rsyslog/rsyslog-rotate.real "$@"
elif [ -x /etc/init.d/rsyslog ]; then
    invoke-rc.d rsyslog rotate > /dev/null
fi