diff options
Diffstat (limited to 'apks/prometheus-postgres-exporter/prometheus-postgres-exporter.pre-install')
-rwxr-xr-x | apks/prometheus-postgres-exporter/prometheus-postgres-exporter.pre-install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apks/prometheus-postgres-exporter/prometheus-postgres-exporter.pre-install b/apks/prometheus-postgres-exporter/prometheus-postgres-exporter.pre-install new file mode 100755 index 0000000..120995c --- /dev/null +++ b/apks/prometheus-postgres-exporter/prometheus-postgres-exporter.pre-install @@ -0,0 +1,6 @@ +#!/bin/sh + +addgroup -S prometheus 2>/dev/null +adduser -S -D -h /var/lib/prometheus -s /sbin/nologin -G prometheus -g prometheus prometheus 2>/dev/null + +exit 0 |