debmaker/ressources/budibase/rootfs/DEBIAN/postinst

10 lines
356 B
Text
Raw Normal View History

2022-10-10 22:47:48 +02:00
#!/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