A little more robust init script. Still sucks. Replace soon.