aboutsummaryrefslogtreecommitdiffstats
path: root/testing/prometheus-node-exporter/prometheus-node-exporter.pre-install
blob: 120995cf35351d604d1aeeafb04ad551607b835a (plain) (blame)
1
2
3
4
5
6
#!/bin/sh

addgroup -S prometheus 2>/dev/null
adduser -S -D -h /var/lib/prometheus -s /sbin/nologin -G prometheus -g prometheus prometheus 2>/dev/null

exit 0