aboutsummaryrefslogtreecommitdiff
path: root/apks/prometheus-postgres-exporter/prometheus-postgres-exporter.pre-install
blob: 120995cf35351d604d1aeeafb04ad551607b835a (plain)
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