Redirect stderr to file

This commit is contained in:
simon987 2019-03-27 18:29:19 -04:00
parent 22ef1a44ad
commit 8fee9a378b

View File

@ -4,6 +4,6 @@ export WSBROOT="ws_bucket"
screen -S ws_bucket -X quit
echo "starting ws_bucket"
screen -S ws_bucket -d -m bash -c "cd ${WSBROOT} && chmod +x ws_bucket && source ~/.bashrc && ./ws_bucket"
screen -S ws_bucket -d -m bash -c "cd ${WSBROOT} && chmod +x ws_bucket && source ~/.bashrc && ./ws_bucket 2> stderr.txt"
sleep 1
screen -list