debmaker/ressources/mautrix-whatsapp/debian/postinst

5 lines
184 B
Text
Raw Permalink Normal View History

#!/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/