rename services to lubiland

develop
lub 7 years ago
parent f5d06ee2cf
commit f981e57884

@ -1,14 +1,14 @@
const remoteExec = require('./remoteExec.js');
// links services and module.exports
const services = module.exports = {};
// links lubiland and module.exports
const lubiland = module.exports = {};
services['infrastructure'] = {};
lubiland['infrastructure'] = {};
services['infrastructure']['rebuild'] = {};
services['infrastructure']['rebuild'].regex = /^([a-zA-Z0-9\-\_]*)$/;
services['infrastructure']['rebuild'].usage = '<container>';
services['infrastructure']['rebuild'].exec = (args) => {
lubiland['infrastructure']['rebuild'] = {};
lubiland['infrastructure']['rebuild'].regex = /^([a-zA-Z0-9\-\_]*)$/;
lubiland['infrastructure']['rebuild'].usage = '<container>';
lubiland['infrastructure']['rebuild'].exec = (args) => {
const container = args[1];
matrixClient.sendNotice(room.roomId, 'rebuilding container ' + container);