mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-14 09:29:15 +00:00
15 lines
278 B
Bash
Executable File
15 lines
278 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
source /usr/share/mynode/mynode_config.sh
|
|
|
|
# Don't start bitcoind if we are marked as an uploader
|
|
echo "Checking if uploader..."
|
|
while [ -f $UPLOADER_FILE ]; do
|
|
echo "We are an uploader, sleeping for 15 minutes..."
|
|
/bin/sleep 15m
|
|
done
|
|
|
|
exit 0 |