Hello !
I'm running several services such as openVPN/murmur/samba on my raspberry pi, i'd like to restart these services should any of them crash.
i made the following bash script but i don't know if it's the most efficient way to do it or if the script it self is any good. Anyway, you can check out the script here: http://paste.ubuntu.com/1660882/
I'd also like to know if there's any good way to "log" these crashes, perhaps i should make a log file on /var/log ??