debmaker/ressources/budibase/rootfs/DEBIAN/postinst
2023-01-01 23:02:32 +01:00

9 lines
358 B
Bash
Executable file

#!/bin/bash
id budibase-server &> /dev/null || useradd budibase-server -r -s /bin/false -md /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 -md /var/lib/budibase-worker
chown -R budibase-worker:budibase-worker /var/lib/budibase-worker