Post
Topic
Board Announcements (Altcoins)
Re: [ANN][DASH] Dash | First Anonymous Coin | Inventor of X11, DGW, Darksend and InstantX
by
Lukas_Jackson
on 20/01/2016, 00:20:55 UTC
Can you remote start masternodes?  I'm having to occasionally do this and its annoying as I keep the priv keys on a offline cold wallet.

If your MN was offline more than an hour you have to start it from your local.
You can use crontab to check if deamon is running.

Copy code below and paste into mn_watch.sh file.
Type nano mn_watch.sh, paste with right click, and control x, y, enter to save. Change dashuser to your user name.

Code:
#!/bin/bash
#run with:  screen -dm /mn_watch.sh
#stop with:  screen -ls to find number and screen -X -S 11111 kill
while true; do
if [ -z `pidof dashd` ]; then
echo Dashd is not running trying to start
/home/dashuser/dashd
sleep 600
else
echo Dashd is Running
sleep 600
fi
done

type:
chmod +x mn_watch.sh

apt-get install screen

type:
screen -dm /mn_watch.sh


I'm not sure if dashman is doing that, great tool. Thanks moocowmoo btw

https://dashtalk.org/threads/dashman-linux-masternode-mangement-made-mootastic.6376/