~dricottone/huttese-apk

ref: 81ab56f553c127a70584ab5a68e326ce241f6df0 huttese-apk/sr.ht/prometheus/prometheus.pre-install -rw-r--r-- 247 bytes
81ab56f5 — Drew DeVault git.sr.ht: add minio dependency 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