~dricottone/huttese-apk

ref: 49de001e6214fe05de0edc3f31b690718354452a huttese-apk/sr.ht/pushgateway/pushgateway.pre-install -rw-r--r-- 247 bytes
49de001e — Drew DeVault sr.ht-nginx: upgrade to dcfe4221f8eaf254add1035d5735a24f3fe0224b 3 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