#!/bin/sh

username=influxdb
groupname="$username"

addgroup -S "$groupname" 2>/dev/null
adduser -S -D -H -h /var/lib/"$username" -s /sbin/nologin -G "$groupname" \
	-g "$groupname" "$username" 2>/dev/null

exit 0
