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

Fixing #425 Added `direct_start` command

parent 27d885b9
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,9 @@ duniter() {
### Production mode
if [[ -d $DUNITER_DIR/node ]]; then
NODE=$DUNITER_DIR/node/bin/node
else
echo "Node.js is not embedded in this version of Duniter"
return
fi;
else
......@@ -40,6 +43,10 @@ duniter() {
$NODE "$DUNITER_DIR/bin/daemon" $*
;;
direct_start)
$NODE "$DUNITER_DIR/bin/ucoind" start ${@:2}
;;
logs)
LOGS_FILE=`$NODE "$DUNITER_DIR/bin/daemon" $*`
tail -f -n 500 "$LOGS_FILE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment