~dricottone/huttese-apk

ref: f5364f3304d32b5d45f3defa2056d66d2f1a42b2 huttese-apk/sr.ht/prometheus-node-exporter/prometheus-node-exporter.pre-install -rw-r--r-- 247 bytes
f5364f33 — Drew DeVault py3-html5lib: drop package 4 years ago
                                                                                
1
2
3
4
#!/bin/sh
grep '^prometheus:' /etc/group >/dev/null || addgroup -S prometheus 2>/dev/null
grep '^prometheus:' /etc/passwd >/dev/null || adduser -SDh/var/lib/prometheus \
	-s/sbin/nologin -Gprometheus -gprometheus prometheus prometheus 2>/dev/null