Post
Topic
Board Bitcoin Technical Support
Re: script to start bitcoind
by
cr1776
on 30/12/2015, 03:20:32 UTC
I have my bitcoind on a dedicated server but every now and then I log into the server and find its not running, so i then have to restart it and wait for it to sync from where it stopped.

Is there a script I can add to my server that would automatically start bitcoind should it stop ?

Thanks guys and girls

Crunck

What OS?  Version?  ;-)



Its on an ovh box running ubuntu but without the gui

Thanks

You could be hitting memory issues during the so-called stress tests.  Even 4GB can be too little. You can adjust various parameters to require more fees to limit this, btw.

As above, systemd is an option, there are others such as monit. These are more generic to monitor a particular process and restart it if it fails.