summaryrefslogtreecommitdiff
path: root/extra/syslog-ng/syslog-ng.install
blob: a9365d6fe3b6a0ed8b0621d331626b42f7528c41 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

post_upgrade() {
  if [ "$(vercmp 3.3.6-3 "$2")" -eq 1 ]; then
    printf '==> syslog-ng now reads from /run/systemd/journal/syslog in the\n'
    printf '    default config. If you still use sysvinit/initscripts, this\n'
    printf '    must be /dev/log in /etc/syslog-ng/syslog-ng.conf\n'
  fi
}