mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 01:49:15 +00:00
15 lines
278 B
Bash
15 lines
278 B
Bash
|
#!/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
|