debmaker/ressources/mautrix-whatsapp/rootfs/DEBIAN/postinst

5 lines
184 B
Bash
Executable File

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