zigbee2mqtt/cli.js
2020-11-21 16:02:49 +01:00

5 lines
179 B
JavaScript
Executable File

#!/usr/bin/env node
const path = require('path');
process.env['ZIGBEE2MQTT_DATA'] = process.env['ZIGBEE2MQTT_DATA'] || path.join(process.env['HOME'], '.z2m');
require('./index');