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

name=victoriametrics

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

exit 0