Skip to content
Snippets Groups Projects
Commit 9b8e6de4 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: missing `webwait` command

parent f1387cef
Branches
Tags
No related merge requests found
......@@ -25,13 +25,18 @@ switch (process.argv[2]) {
});
break;
case "webwait":
daemon = getDaemon('webwait');
start(daemon);
break;
case "webstart":
daemon = getDaemon('webstart');
start(daemon);
break;
case "webstop":
daemon = getDaemon('webstart');
daemon = getDaemon();
daemon.stop();
break;
......@@ -49,7 +54,7 @@ switch (process.argv[2]) {
break;
default:
console.log("Usage: [webstart|webstop|webrestart|start|stop|restart]");
console.log("Usage: [webstart|webwait|webstop|webrestart|start|stop|restart]");
}
function getDaemon(overrideCommand) {
......
......@@ -39,7 +39,7 @@ duniter() {
# UCOIN DAEMON MANAGEMENT
#---------------------------------
webstart|webstop|webrestart|start|stop|restart)
webwait|webstart|webstop|webrestart|start|stop|restart)
$NODE "$DUNITER_DIR/bin/daemon" $*
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment