debmaker/ressources/authelia/rootfs/DEBIAN/postinst

6 lines
177 B
Bash
Executable File

#!/bin/bash
id authelia &> /dev/null || useradd authelia -r -s /bin/false
systemctl | grep authelia | grep -q running && systemctl daemon-reload && systemctl restart authelia