6 lines
179 B
Bash
Executable file
6 lines
179 B
Bash
Executable file
#!/bin/bash
|
|
APP=gotify
|
|
id $APP &> /dev/null || useradd $APP -r -s /bin/false -md /var/lib/$APP/
|
|
chown -R $APP:$APP /var/lib/$APP
|
|
|
|
chown -R www-data:www-data /var/lib/gotify/data/
|