debmaker/ressources/zigbee2mqtt/rootfs/DEBIAN/postinst

5 lines
158 B
Bash
Executable File

#!/bin/bash
id zigbee2mqtt &> /dev/null || useradd zigbee2mqtt -r -s /bin/false -md /var/lib/zigbee2mqtt
chown zigbee2mqtt:zigbee2mqtt /var/lib/zigbee2mqtt/