diff options
Diffstat (limited to 'contrib/debian/netdata-plugin-slabinfo.preinst')
-rw-r--r-- | contrib/debian/netdata-plugin-slabinfo.preinst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/debian/netdata-plugin-slabinfo.preinst b/contrib/debian/netdata-plugin-slabinfo.preinst new file mode 100644 index 000000000..fcabb415a --- /dev/null +++ b/contrib/debian/netdata-plugin-slabinfo.preinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in + install) + if ! getent group netdata > /dev/null; then + addgroup --quiet --system netdata + fi + ;; +esac + +#DEBHELPER# |