7 lines
235 B
Bash
Executable file
7 lines
235 B
Bash
Executable file
#!/bin/bash
|
|
|
|
APP=authelia
|
|
id $APP &> /dev/null || useradd $APP -r -s /bin/false -md /var/lib/$APP/
|
|
chown -R $APP:$APP /var/lib/$APP/
|
|
|
|
systemctl | grep authelia | grep -q running && systemctl daemon-reload && systemctl restart authelia
|