Check out using monit for watching/re-starting darkcoind.
Here's how someone is using it to monitor bitcoind:
https://bitcointalk.org/index.php?topic=5911.0
pi@raspberrypi ~ $ sudo apt-get install monit
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
exim4 postfix mail-transport-agent
The following NEW packages will be installed:
monit
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 291 kB of archives.
After this operation, 718 kB of additional disk space will be used.
Get:1
http://mirrordirector.raspbian.org/raspbian/ wheezy/main monit armhf 1:5.4-2 [291 kB]
Fetched 291 kB in 0s (300 kB/s)
Selecting previously unselected package monit.
(Reading database ... 92017 files and directories currently installed.)
Unpacking monit (from .../monit_1%3a5.4-2_armhf.deb) ...
Processing triggers for man-db ...
Setting up monit (1:5.4-2) ...
[ ok ] Starting daemon monitor: monit.