You need to have some kind of a supervision
.
For example monit. It will do what you described: start/restart process:
For example:
check process RPiQuadroServe pidfile /var/run/RPiQuadroServer.pid
start program = "/etc/init.d/RPiQuadroServe start"
stop program = "/etc/init.d/RPiQuadroServec stop"