#!/usr/bin/env node const appConfig = require('../config/app'); const syncService = require('../sync/sync-service'); if (appConfig.sync == 'slave') { syncService.start().catch(console.error); }