9 lines
161 B
Text
9 lines
161 B
Text
|
#!/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
|