debmaker/ressources/zigbee2mqtt/rootfs/DEBIAN/postinst

5 lines
161 B
Text
Raw Normal View History

2022-02-03 22:51:24 +01:00
#!/bin/bash
id zigbee2mqtt &> /dev/null || useradd zigbee2mqtt -r -s /bin/false -md /var/lib/zigbee2mqtt
2022-08-13 23:53:42 +02:00
chown -R zigbee2mqtt:zigbee2mqtt /var/lib/zigbee2mqtt/