#!/bin/bash FOLDER="logs" FILE=$(date +%Y%m%d%H%M.log) LOGFILE=$FOLDER"/"$FILE mkdir -p $FOLDER #nix-shell --run "~/.cabal/bin/gargantext-server --toml gargantext-settings.toml --run Prod +RTS > $LOGFILE 2>&1 & tail -F $LOGFILE" nix-shell --run "cabal v2-run gargantext server -- start-all -m Dev -p 8008 -c gargantext-settings.toml" #> $LOGFILE 2>&1 & tail -F $LOGFILE"