mirror of
https://github.com/simon987/ws_bucket.git
synced 2025-04-10 14:06:46 +00:00
10 lines
237 B
Bash
10 lines
237 B
Bash
#!/bin/bash
|
|
|
|
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 2> stderr.txt"
|
|
sleep 1
|
|
screen -list
|