debmaker/ressources/uptime-kuma/DEBIAN/postinst

8 lines
166 B
Plaintext
Raw Normal View History

2023-09-15 23:10:23 +02:00
#!/bin/bash
APPUSER=uptime-kuma
2023-11-02 09:37:18 +01:00
id $APPUSER &> /dev/null || useradd $APPUSER -r -s /bin/false -md /var/lib/$APPUSER/
2023-09-15 23:10:23 +02:00
chown -R $APPUSER:$APPUSER /var/lib/$APPUSER/