And should test that the pidfile exists before doing so (I just added that in init_eclserver)

I think really, the entire killed function (once corrected) should be in hpcc_setenv, so that all the init scripts can reference it and act consistently.