Adapt init.d running checks to Ubuntu 13.10