mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
4 lines
247 B
Bash
4 lines
247 B
Bash
#!/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
|