pooliot-client
Version:
28 lines (18 loc) • 741 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ntpUpdate = undefined;
var _nightingale = require('nightingale');
var _nightingale2 = _interopRequireDefault(_nightingale);
var _exec = require('./exec');
var _flowRuntime = require('flow-runtime');
var _flowRuntime2 = _interopRequireDefault(_flowRuntime);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const logger = new _nightingale2.default('app:commands:system');
const ntpUpdate = exports.ntpUpdate = () => {
_flowRuntime2.default.return(_flowRuntime2.default.void());
logger.info('ntp update');
(0, _exec.runSync)('./system.sh', ['ntpUpdate']);
};
//# sourceMappingURL=system.js.map