~dricottone/huttese-apk

ref: d40c7afb385fcd366d41c8b2f7b52ee9d4749be8 huttese-apk/prometheus/alertmanager/alertmanager.pre-install -rw-r--r-- 245 bytes
d40c7afb — Drew DeVault Add py3-gitlab package 5 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