mirror of
https://github.com/hikhvar/mqtt2prometheus.git
synced 2026-02-14 18:09:53 +00:00
6 lines
155 B
Bash
Executable File
6 lines
155 B
Bash
Executable File
#!/bin/sh
|
|
|
|
user=mqtt2prometheus
|
|
if ! getent passwd "${user}" > /dev/null; then
|
|
useradd --system --home-dir /var/lib/${user} --no-create-home || true
|
|
fi |