~dricottone/huttese-apk

ref: 38f92e5a0b95e55fabc415268e5ab5b28223341b huttese-apk/sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.pre-install -rw-r--r-- 245 bytes
38f92e5a — Drew DeVault todo.sr.ht: add -nginx subpackage 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