Closed alexanderustinov closed 12 months ago
Hi.
zigbee2mqtt daemon from app-misc/zigbee2mqtt does not restart gracefully (for me) with openrc unless
start() { checkconfig || return 1 ebegin "Starting ${SVCNAME}" start-stop-daemon --start --user zigbee2mqtt:zigbee2mqtt --env ZIGBEE2MQTT_DATA=/var/lib/${SVCNAME} --chdir /usr/lib64/node_modules/zigbee2mqtt --exec /usr/bin/npm --background --make-pidfile --pidfile /run/${SVCNAME}.pid -- start eend $? }
is changed to
start() { checkconfig || return 1 ebegin "Starting ${SVCNAME}" start-stop-daemon --start --user zigbee2mqtt:zigbee2mqtt --env ZIGBEE2MQTT_DATA=/var/lib/${SVCNAME} --chdir /usr/lib64/node_modules/zigbee2mqtt --exec /usr/bin/node --background --make-pidfile --pidfile /run/${SVCNAME}.pid -- index.js eend $? }
(got idea from https://github.com/Koenkk/zigbee2mqtt/issues/7611 )
Hi.
zigbee2mqtt daemon from app-misc/zigbee2mqtt does not restart gracefully (for me) with openrc unless
is changed to
(got idea from https://github.com/Koenkk/zigbee2mqtt/issues/7611 )