pool/bin/yiimp_restart_loop.sh
Tanguy Pruvot ff50b15c8c rename yiic command to yiimp + loop restart script
The loop processing earnings and payments can lock sometimes...
I guess its related to unreachable/broken api on exchanges sites
2015-08-02 15:13:00 +02:00

17 lines
344 B
Bash
Executable file

#!/bin/bash
# Restart the pseudo cron screens...
LOG_DIR=/work/yiimp/log
WEB_DIR=/var/web
screen -X -S main quit
screen -X -S loop2 quit
screen -X -S blocks quit
screen -X -S debug quit
screen -dmS main $WEB_DIR/main.sh
screen -dmS loop2 $WEB_DIR/loop2.sh
screen -dmS blocks $WEB_DIR/blocks.sh
screen -dmS debug tail -f $LOG_DIR/debug.log