~dricottone/huttese-apk

ref: fe7282402c83d4b5d152007b77324003c2c54f37 huttese-apk/sr.ht/prometheus-sql-exporter/prometheus-sql-exporter.pre-install -rw-r--r-- 247 bytes
fe728240 — Drew DeVault builds.sr.ht-nginx: add sr.ht-nginx dependency 4 years ago
                                                                                
15b1e44b Drew DeVault
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