summaryrefslogtreecommitdiffstats
path: root/contrib/debian/netdata-plugin-systemd-journal.preinst
blob: fcabb415aaa0393f1d5525312216764ba972a3a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

case "$1" in
  install)
    if ! getent group netdata > /dev/null; then
      addgroup --quiet --system netdata
    fi
    ;;
esac

#DEBHELPER#