zigbee2mqtt/cli.js

5 lines
179 B
JavaScript
Raw Normal View History

2020-11-21 08:02:49 -07:00
#!/usr/bin/env node
const path = require('path');
process.env['ZIGBEE2MQTT_DATA'] = process.env['ZIGBEE2MQTT_DATA'] || path.join(process.env['HOME'], '.z2m');
require('./index');