debmaker/ressources/zigbee2mqtt/rootfs/DEBIAN/postinst

5 lines
158 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
chown zigbee2mqtt:zigbee2mqtt /var/lib/zigbee2mqtt/