aports/testing/prometheus-smartctl-exporter/prometheus-smartctl-exporter.pre-install
2023-06-30 11:18:10 +02:00

8 lines
197 B
Bash

#!/bin/sh
addgroup -S prometheus 2>/dev/null
adduser -S -D -h /var/lib/prometheus \
-s /sbin/nologin -G prometheus -g prometheus prometheus prometheus 2>/dev/null
adduser prometheus disk
exit 0