debmaker/ressources/vaultwarden/rootfs/DEBIAN/postinst

5 lines
156 B
Bash
Executable File

#!/bin/bash
id vaultwarden&> /dev/null || useradd vaultwarden -r -s /bin/false -md /var/lib/vaultwarden
chown vaultwarden:vaultwarden /var/lib/vaultwarden