debmaker/ressources/authelia/rootfs/DEBIAN/postinst
2025-04-14 18:51:11 +02:00

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