correct order on dependency
check for pidfile in stop()