aboutsummaryrefslogtreecommitdiffstats
path: root/testing/influxdb/influxdb.pre-install
blob: 3fbf12b1d4dcc6950632ba4918bcf897c2d6c5c2 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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