aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grafana/grafana.pre-install
blob: fee2e76df93b6b107ac52fe9faa11bb807afc1fe (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

name=grafana

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

exit 0