debmaker/ressources/uptime-kuma/DEBIAN/postinst

8 lines
165 B
Bash
Executable File

#!/bin/bash
APPUSER=uptime-kuma
id $APPUSER &> /dev/null || useradd $APPUSER -r -s /bin/false -d /var/lib/$APPUSER/
chown -R $APPUSER:$APPUSER /var/lib/$APPUSER/