debmaker/ressources/budibase/rootfs/DEBIAN/postinst
2022-10-10 22:47:48 +02:00

9 lines
356 B
Bash
Executable file

#!/bin/bash
id budibase-server &> /dev/null || useradd budibase-server -r -s /bin/false -d /var/lib/budibase-server
chown -R budibase-server:budibase-server /var/lib/budibase-server
id budibase-worker &> /dev/null || useradd budibase-worker -r -s /bin/false -d /var/lib/budibase-worker
chown -R budibase-worker:budibase-worker /var/lib/budibase-worker