7 lines
166 B
Bash
Executable file
7 lines
166 B
Bash
Executable file
#!/bin/bash
|
|
APPUSER=uptime-kuma
|
|
|
|
id $APPUSER &> /dev/null || useradd $APPUSER -r -s /bin/false -md /var/lib/$APPUSER/
|
|
|
|
chown -R $APPUSER:$APPUSER /var/lib/$APPUSER/
|
|
|