mirror of
https://github.com/simon987/ws_bucket.git
synced 2025-04-19 02:06:46 +00:00
10 lines
250 B
Bash
Executable File
10 lines
250 B
Bash
Executable File
#!/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 && export WS_BUCKET_SECRET=${WS_BUCKET_SECRET} && ./ws_bucket"
|
|
sleep 1
|
|
screen -list
|