mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 09:27:25 +00:00
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
This commit is contained in:
parent
4ae2e97ff9
commit
ff50b15c8c
2 changed files with 17 additions and 0 deletions
17
bin/yiimp_restart_loop.sh
Executable file
17
bin/yiimp_restart_loop.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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
|
||||
|
Loading…
Add table
Reference in a new issue