mirror of
https://github.com/RoboSats/robosats-startos.git
synced 2025-07-23 03:03:14 +00:00
18 lines
242 B
Bash
Executable File
18 lines
242 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
_term() {
|
|
echo "Caught SIGTERM signal!"
|
|
kill -TERM "$rs_process" 2>/dev/null
|
|
exit 0
|
|
}
|
|
|
|
# Setting env-vars from config page
|
|
echo "Starting RoboSats..."
|
|
./robosats-client.sh
|
|
|
|
trap _term SIGTERM
|
|
|
|
wait -n $rs_process
|